chmod o-r woes...

Dave Korn
Sat Feb 23 14:51:00 GMT 2008

On 22 February 2008 18:32, Marc Girod wrote:

> 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

> etc> grep emagiro passwd*

  This H drive of which you speak, it is a network drive perhaps?

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

  Well, a good starting point is to read,
paying close attention to the bit about how to generate, attach and send your
cygcheck output with your question to the list so that we have even the
slightest chance of being able to help without needing to use our ESP to guess
what kind of drives you have and what kind of CYGWIN environment variable you

  But I agree that documentation you mentioned could be clarified a bit, it
doesn't (as far as I could see after a quick skim through) explicitly mention
smbntsec, just links to the ntsec section of the same page.

Can't think of a witty .sigline today....

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list