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]
Other format: [Raw text]

Re: cygwin 1.3.19-1 file permission out of sync with NTFS on XP?


"Elfyn McBratney" <elfyn-cygwin@exposure.org.uk> escribió en el mensaje
019301c2cbc0$c6df0860$696f86d9@webdev">news:019301c2cbc0$c6df0860$696f86d9@webdev...
> > Did the permission code changed somewhere between cygwin 1.3.12 and
> 1.3.19-1 ?
> > It there something I can do to make them sync up again ?
> > (Note: I also tried "CYGWIN=ntsec", it does not help).
>
> Did your old install use ntsec (ntsec in the CYGWIN environment
variable)?
> If not that may be why. ntsec is now on by default so you can either
> continue to use it or, you may need to reset your permissions to suite
your
> needs, or you can turn it off (by adding nontsec in the CYGWIN
environment
> variables).

Thanks for the info...

Also, could I have some pointers to _what_ is the difference between
"ntsec" and "non-ntsec" operation modes?
I've experience problems with some apps and I find the fact that all
files I create in Windows Explorer show as +x in Cygwin a bit
disturbing... but I'd like to have some more info before changing a
systemwide setting that sounds so "serious"...
After all, there seem to be plenty of apps that rely on "ntsec" being
the behaviour... And I haven't been able to find much info on the
docs...


Cygwin> pwd
/usr/doc/Cygwin
Cygwin> grep ntsec *
Cygwin> pwd
exim-4.12-3.README:On Win95/98/Me and on WinNT/2000/XP with nontsec
exim-4.12-3.README:   On WinNT/2000/XP, ntsec is usually on in the inetd
environment,
exim-4.12-3.README:   so this mode of operation is really "with ntsec".
exim-4.12-3.README:   cygrunsrv -I exim -p /usr/bin/exim -e
CYGWIN=nontsec \
exim-4.12-3.README:On WinNT/2000/XP with ntsec
exim-4.12-3.README:   cygrunsrv -I exim -p /usr/bin/exim -e CYGWIN=ntsec
\
exim-4.12-3.README:   ntsec must be turned on in the system environment.
exim-4.12-3.README:   THERE IS NO COMPELLING REASON to create an exim
user when ntsec
exim-4.12-3.README:         setuid = noop iff nontsec (exim needs no
privilege)
exim-4.12-3.README:         setuid = noop iff nontsec (exim needs no
privilege)
exim-4.12-3.README:APPENDFILE_MODE       = 0644     # default if no
ntsec
gdbm-1.8.0.README:  the open() calls include a file-access-mode argument
so that ntsec
inetutils-1.3.2.README:    CYGWIN settings, eg "binmode tty ntsec".
inetutils-1.3.2.README:  of the ntsec option of cygwin. The 'S-' and
'U-' fields in
inetutils-1.3.2.README:  with ntsec ON. If, for example, the cygwin user
`ftp' should be
login.README:domain users.  Setting CYGWIN=ntsec is mandatory for that
feature.
openssh-3.5p1-3.README:a version >= 1.3.2. Keep in mind that `ntsec' has
to be activated to
openssh-3.5p1-3.README:When using `ntea' or `ntsec' you now have to care
for the ownership
openssh-3.5p1-3.README:Note that this is forced under `ntsec' only if
the files are on a NTFS
openssh-3.5p1-3.README:You may use all features of the CYGWIN=ntsec
setting the same
perl-5.6.1.README:  Passes all tests when using ntsec (besides a little
unsolved problem with groups.t).
postgresql-7.3.1.README:[10] Assumes that ntsec is set via the CYGWIN
environment variable.


Thanks a lot...

    Javier




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


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