Vincent Ladeuil wrote:
>>> There is one specific case which requires that the ownership gets copied
>> from the containing directory. If the config file doesn't exist and is created
>> by bzr under sudo we need to be sure that the user has ownership.
>>
>> That is true, but if the file already exists, shouldn't we use the
>> permissions it already has?
>
> The patch is about ownership of the file not about its permissions. atomicfile preserve existing permissions right ?
>
Well, shouldn't we use the *ownership* it already has? (yes you are
right that AF preserves permissions.)
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vincent Ladeuil wrote:
>>> There is one specific case which requires that the ownership gets copied
>> from the containing directory. If the config file doesn't exist and is created
>> by bzr under sudo we need to be sure that the user has ownership.
>>
>> That is true, but if the file already exists, shouldn't we use the
>> permissions it already has?
>
> The patch is about ownership of the file not about its permissions. atomicfile preserve existing permissions right ?
>
Well, shouldn't we use the *ownership* it already has? (yes you are
right that AF preserves permissions.)
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
GFxQACgkQJdeBCY SNAAMbOACgnu6fZ Ti9i02xG9R0ik27 KPAm aAeF7X1EVwLPEBk V2
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkx
BoIAoJgNO0KpmnI
=sFss
-----END PGP SIGNATURE-----