[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Possible problem with default permission of rep-cache.db file in 1.6.x

From: Laszlo Radics <Laszlo.Radics_at_mscibarra.com>
Date: Wed, 24 Jun 2009 17:44:46 +0200

Hi all,

I have run into a problem with 'svnadmin create' that stems from the default permission bits of 'rep-cache.db', which is a new SQLite database file in 1.6.x repos. Even with umask 0, the protection of this file is set to 644 on repo creation, which prevents subsequent commits via an svnserve process which is running under a separate account than the one owning the repo (but shares the primary group with it).

Can this be considered as a bug? It can be worked around in our repo creation script, but I think this file should have basically similar permissions that other files in the db directory.

Best regards,
Laszlo

László Radics
Senior Associate
MSCI Barra

1138 Budapest
Népfürdő utca 22
Hungary
Telephone: +36.1.881.2550
Facsimile: +36.1.881.2510
Mobile: +36.70.978.3939
laszlo.radics_at_mscibarra.com<mailto:first.last_at_mscibarra.com>

Local registered entity: MSCI KFT

________________________________
NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.

Local registered entity: MSCI KFT
Metropolitan Court acting as the Court of Registry
Registered office: 1138 Budapest, Népfürdő utca 22, Hungary
Registration No. 01-09-885383

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2364988

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-24 17:47:07 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.