delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/19/06:38:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4BA36211.30109@frydenbo-bruvoll.com>
Date: Fri, 19 Mar 2010 11:37:53 +0000
From: =?ISO-8859-1?Q?Jan-Aage_Frydenb=F8-Bruvoll?= <jan AT frydenbo-bruvoll DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: /cygdrive permissions problem [failing duplicity backup]
References: <4BA35384 DOT 1040100 AT frydenbo-bruvoll DOT com> <20100319112252 DOT GL6505 AT calimero DOT vinschen DOT de> <4BA3658D DOT 4060705 AT gmail DOT com>
In-Reply-To: <4BA3658D.4060705@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT 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 AT aeolus:/
$ rmdir.exe cygdrive

Fri Mar 19 11:36:24 jan AT 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 AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019