Mail Archives: cygwin/2003/01/09/12:14:16
Thanks a lot Andrew, that's exactly what I needed.
The changes I am contemplating will fix the problem
in your situation.
FYI, it looks like you must be in the Administrators group
to run chmod -R and fix the permission display, but you already
have at least Windows RX permissions on the files (although
Cygwin doesn't know it).
Pierre
"Dr. Andrew Mayer" wrote:
>
> Hi Pierre,
>
> cacls is a new command to me. Please let me know if this is not what you
> wanted.
>
> Thanks,
> Andrew
>
> ---
>
> LEVERAGE 54$ pwd
> /cygdrive/f/Unix/cygwin
> LEVERAGE 55$ ls
> ./ ../ bin/ cygwin.bat cygwin.ico etc/ home/ lib/ tmp/ usr/ var/
> LEVERAGE 56$ cd ..
> LEVERAGE 57$ cacls cygwin
> f:\Unix\cygwin BUILTIN\Administrators:(OI)(CI)F
> NT AUTHORITY\SYSTEM:(OI)(CI)F
> BUILTIN\Users:(CI)(special access:)
> SYNCHRONIZE
> FILE_APPEND_DATA
>
> BUILTIN\Users:(CI)(special access:)
> SYNCHRONIZE
> FILE_WRITE_DATA
>
> BUILTIN\Users:(OI)(CI)R
>
> On Wed, Jan 08, 2003 at 10:00:28PM -0800, Andrew Mayer wrote:
> > However, the default file permissions just seem wrong. Here's a
> sample, the
> > full ls -lR is too big to post but looks about the same.
> >
> > .:
> > total 2
> > d---------+ 9 mayer None 0 Jan 8 21:01 ./
> > d---------+ 9 mayer None 0 Jan 8 21:01 ../
>
> That's a problem mapping ACL to permissions. You can see the truth
> with cacls and perhaps change the permissions with chmod -R.
> Coincidentally there is a coming change to Cygwin that will help,
> and I am working on a small fix for setup as well.
> Could you send the output of cacls for the cygwin root?
> That will allow me to see if the coming changes will help here.
>
> Pierre
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -