Oddity when working with webdrive mounted network drives
Robert Pendell
shinji@elite-systems.org
Fri Jan 8 19:43:00 GMT 2010
On Fri, Jan 8, 2010 at 6:12 AM, Corinna Vinschen wrote:
> On Jan 8 11:58, Corinna Vinschen wrote:
>> On Jan 7 16:23, Robert Pendell wrote:
>> > $ ls -n /cygdrive/w
>> > total 44M
>> > drwxrwxrwx 1 4294967295 4294967295 4.0K 2009-11-04 03:20 Maildir/
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> And that means the SIDs of owner and group are not known to Cygwin,
>> since they are not present in /etc/passwd and /etc/group. The permissions
>> are taken from what the OS call to fetch the ACL returns.
>
> Let me rephrase. The permissions as well as the SIDs are taken from
> what the OS returns for that drive. You should check the ACL content
> for files and dirs on that drive using cacls or the GUI. That'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@elite-systems.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
More information about the Cygwin
mailing list