Re: subversion changes file permissions on commit

2013-10-21 Thread Attila Nagy
On 10/15/2013 08:09 AM, Attila Nagy wrote: I store OS images in svn, so I need to record file permissions and ownership. For this, I use properties. But svn changes real file permissions: OK, long story short. Isn't this a security issue? $ ls -li zzz 4262518 -rw--- 1 bra bra 0 Oct 21

Re: subversion changes file permissions on commit

2013-10-21 Thread Branko Čibej
On 21.10.2013 18:16, Attila Nagy wrote: > On 10/15/2013 08:09 AM, Attila Nagy wrote: >> >> I store OS images in svn, so I need to record file permissions and >> ownership. For this, I use properties. >> But svn changes real file permissions: > OK, long story short. Isn't this a security issue? No,

Re: subversion changes file permissions on commit

2013-10-21 Thread Thorsten Schöning
Guten Tag Branko Čibej, am Dienstag, 22. Oktober 2013 um 07:13 schrieben Sie: > No, because Subversion does not promise to restore original file > permissions, and therefore you shouldn't rely on it to do so. It's not about restoring, but not changing them during/after a commit. Mit freundlichen

Re: subversion changes file permissions on commit

2013-10-22 Thread bert
Does the file have any specific properties, such as svn:eol-style or svn:keywords? Bert From: Thorsten Schöning Sent: ‎Tuesday‎, ‎October‎ ‎22‎, ‎2013 ‎8‎:‎05‎ ‎AM To: users@subversion.apache.org Guten Tag Branko Čibej, am Dienstag, 22. Oktober 2013 um 07:13 schrieben Sie: > No, bec

Re: subversion changes file permissions on commit

2013-10-22 Thread Branko Čibej
On 22.10.2013 07:13, Branko Čibej wrote: > On 21.10.2013 18:16, Attila Nagy wrote: >> On 10/15/2013 08:09 AM, Attila Nagy wrote: >>> I store OS images in svn, so I need to record file permissions and >>> ownership. For this, I use properties. >>> But svn changes real file permissions: >> OK, long s

Re: subversion changes file permissions on commit

2013-10-24 Thread Branko Čibej
On 24.10.2013 14:08, Attila Nagy wrote: > On 10/22/13 09:56, Branko Čibej wrote: >> On 22.10.2013 07:13, Branko ?ibej wrote: >>> On 21.10.2013 18:16, Attila Nagy wrote: On 10/15/2013 08:09 AM, Attila Nagy wrote: > I store OS images in svn, so I need to record file permissions and > own

Re: subversion changes file permissions on commit

2013-10-27 Thread Attila Nagy
Hi, On 10/24/13 22:05, Branko Čibej wrote: As Thorsten has pointed out, this is a different case. BTW, I have a similar solution, like contrib/asvn, but the current operation of svn makes it impossible/very hard to make it work, because it screws up real file permissions on each commits. Yes,

Re: subversion changes file permissions on commit

2013-10-30 Thread Stefan Sperling
On Mon, Oct 28, 2013 at 07:11:13AM +0100, Attila Nagy wrote: > Hi, > > On 10/24/13 22:05, Branko Čibej wrote: > >> > >>As Thorsten has pointed out, this is a different case. BTW, I have a > >>similar solution, like contrib/asvn, but the current operation of svn > >>makes it impossible/very hard to

Re: subversion changes file permissions on commit

2013-10-30 Thread Attila Nagy
On 10/30/13 09:56, Stefan Sperling wrote: I believe it's the stupid code replaced below, which I wrote in r880420. Because of it we end up setting perms based on umask upon every commit, and end up expanding restrictive file permissions. This patch should fix the problem. Indeed, the file remain

Re: subversion changes file permissions on commit

2013-10-30 Thread Stefan Sperling
On Wed, Oct 30, 2013 at 10:18:35AM +0100, Attila Nagy wrote: > On 10/30/13 09:56, Stefan Sperling wrote: > >I believe it's the stupid code replaced below, which I wrote in r880420. > >Because of it we end up setting perms based on umask upon every commit, > >and end up expanding restrictive file pe