delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/08/14:08:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20100108111255.GE27916@calimero.vinschen.de>
References: <a13b5a591001071323w3a6a9f82tfcce64e66d514c47 AT mail DOT gmail DOT com> <20100108105800 DOT GC27916 AT calimero DOT vinschen DOT de> <20100108111255 DOT GE27916 AT calimero DOT vinschen DOT de>
Date: Fri, 8 Jan 2010 14:08:04 -0500
Message-ID: <a13b5a591001081108t3f8d6bbfv8a8e0f81ef9bfada@mail.gmail.com>
Subject: Re: Oddity when working with webdrive mounted network drives
From: Robert Pendell <shinji AT elite-systems DOT org>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Fri, Jan 8, 2010 at 6:12 AM, Corinna Vinschen wrote:
> On Jan =C2=A08 11:58, Corinna Vinschen wrote:
>> On Jan =C2=A07 16:23, Robert Pendell wrote:
>> > $ ls -n /cygdrive/w
>> > total 44M
>> > drwxrwxrwx 1 4294967295 4294967295 4.0K 2009-11-04 03:20 Maildir/
>> =C2=A0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> =C2=A0 And that means the SIDs of owner and group are not known to Cygwi=
n,
>> =C2=A0 since they are not present in /etc/passwd and /etc/group. =C2=A0T=
he permissions
>> =C2=A0 are taken from what the OS call to fetch the ACL returns.
>
> Let me rephrase. =C2=A0The permissions as well as the SIDs are taken from
> what the OS returns for that drive. =C2=A0You should check the ACL content
> for files and dirs on that drive using cacls or the GUI. =C2=A0That's what
> Cygwin gets to see as well.
>
>
> Corinna
>

Thanks for the clarifications.  I can't use cacls on them as it comes
back saying the parameter is incorrect.  I should note that cacls is
depreciated on Vista and Windows 7 so icacls should be used instead
where available.  The command lines are different but they do the same
thing.

$ icacls Maildir
Maildir  No permissions are set. All users have full control.
Successfully processed 1 files; Failed processing 0 files

That part explains it.  Webdrive has an option to enable NTFS Security
which makes them full access to pretty much any program.  I can see
the actual permissions through the programs panel.  Just wondering why
it doesn't put anything realistic on the files themselves.  Oh well.
This isn't a cygwin issue anyways.

Robert Pendell
shinji AT elite-systems DOT org
CAcert Assurer
"A perfect world is one of chaos."

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