/cygdrive permissions problem [failing duplicity backup]

Jan-Aage Frydenbø-Bruvoll jan@frydenbo-bruvoll.com
Fri Mar 19 11:44:00 GMT 2010


Dave, Corinna,

On 19/03/2010 11:52, Dave Korn wrote:
> On 19/03/2010 11:22, Corinna Vinschen wrote:
>    

Thanks for the thorough explanation.

>> On Mar 19 10:35, Jan-Aage Frydenb?-Bruvoll wrote:
>>      
>>>        
>> The permissions of the underlying directory are not reflected in
>> the fstat API.  We're pretending the cygdrive directory has fixed
>> 0555 permissions because it's a virtual directory.  You could
>> remove the actual directory and cygdrive would still exist.
>>
>>      
>>> Fri Mar 19 10:30:03 jan@aeolus:/
>>> $ getfacl.exe  /cygdrive
>>> # file: /cygdrive
>>> # owner: jan
>>> # group: Administrators
>>> user::rwx
>>> group::r-x
>>> other:r-x
>>> mask:rwx
>>>        
>> Huh?  How did you do that?
>>      
>    Perhaps Jan has a real physical /cygdrive directory shadowing the virtual
> one and there's some inconsistency about when and whether the virtual dir's
> perms or the real dir's ACLs get used?  And in that case, perhaps deleting the
> physical directory would make duplicity work...
>    

Hm - doesn't seem like that's the case.

Fri Mar 19 11:36:22 jan@aeolus:/
$ rmdir.exe cygdrive

Fri Mar 19 11:36:24 jan@aeolus:/
$ ls -ld cygdrive
d--x--x--x 5 jan Administrators 0 2006-12-01 00:00 cygdrive

Fri Mar 19 11:36:30 jan@aeolus:/
$ getfacl.exe  /cygdrive
# file: /cygdrive
# owner: jan
# group: Administrators
user::rwx
group::r-x
other:r-x
mask:rwx


Best regards
Jan


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list