X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4BA3658D.4060705@gmail.com>
Date: Fri, 19 Mar 2010 11:52:45 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: /cygdrive permissions problem [failing duplicity backup]
References: <4BA35384.1040100@frydenbo-bruvoll.com> <20100319112252.GL6505@calimero.vinschen.de>
In-Reply-To: <20100319112252.GL6505@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 19/03/2010 11:22, Corinna Vinschen wrote:
> 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...

    cheers,
      DaveK

--
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

