This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /cygdrive permissions problem [failing duplicity backup]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]