This is the mail archive of the cygwin 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]

chmod o-r woes...


Hello,

I read: http://cygwin.com/faq/faq-nochunks.html#faq.using.chmod
and: http://cygwin.com/cygwin-ug-net/ntsec.html,

and still do not understand...
I am unable to remove the read right for world (and group) from .netrc.

~> export CYGWIN=ntsec
~> chmod -c o-r .netrc
mode of `.netrc' changed to 0640 (rw-r-----)
~> ls -la .netrc
-rw-r--r-- 1 emagiro Domain Users 54 Feb 21 11:33 .netrc
~> getfacl .netrc
# file: .netrc
# owner: emagiro
# group: Domain Users
user::rw-
group::r--
other:r--
mask:rwx
~>

I installed cygwin 'for myself' as I did not have admin rights on this box
(which I got later).
I built the /etc/passwd and /etc/group with the utilities and the -l -d
options (takes hours on my network...)
mkpasswd is in fact still pending, so that I use a temp version of it,
in which I had a 'local' entry for myself:

etc> grep emagiro passwd*
passwd:emagiro:unused_by_nt/2000/xp:654351:10513:emagiro,U-EEMEA\emagiro,S-1-5-21-507921405-1897051121-725345543-644351:/cygdrive/h:/bin/bash
etc> id
uid=654351(emagiro) gid=10513(Domain Users)
groups=544(Administrators),545(Users),552997(DATA-G-AdvancedCopper-R)
...

[I truncated]
I ran cygcheck -c and -s and could not see anything wrong.

What can I do to fix my environement, or even to diagnose what's wrong?
strace chmod...?

Marc

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]