chmod o-r woes...

Dave Korn dave.korn@artimi.com
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*
>
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

  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 http://cygwin.com/problems.html,
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
have...

  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.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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



More information about the Cygwin mailing list