This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ntsec environment variable


On Tue, Apr 17, 2001 at 07:27:54AM -0400, Christopher Dale Campbell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Why is it whenever I use the env. variable 'ntsec' all files show as
> '-rwxrwxrwx'?  And when I try to copy a file (even ones that I
> created and own) is says 'cp: preserving permissions for blah.file:
> Permission denied'?

On NTFS or Samba? Is your /etc/passwd correct? What is the output of
`id'? What is the exact output of `ls -ln' and `getfacl' on the file?

Just as a hint:
If you switch to ntsec for the first time, all file ACLs are set
by Windows. If you don't have changed your security settings, all
files have very relaxed ACLs, mostly "all permissions for everyone"
which is equivalent to rwxrwxrwx.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]