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: chmod not working on Windows XP


Igor:

Thanks for the tip.  Please see attached cygcheck.out that contains the
output to cygcheck -svr.

I was changing file permissions on my home directory on a network drive,
so this is probably why it did not work, even though that drive is NTFS.
Using chmod to change the file permissions of a file on /cygdrive/c had
the intended result.

Derek

-----Original Message-----
From: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu] 
Sent: October 3, 2003 12:31 PM
To: Derek Mahar
Cc: cygwin@cygwin.com
Subject: Re: chmod not working on Windows XP


On Fri, 3 Oct 2003, Derek Mahar wrote:

> After having read the FAQ and setting CYGWIN to "ntsec tty", chmod
> still does not change file permissions on my Windows XP system.  I've 
> created /etc/passwd and /etc/group as follows:
>
> mkpasswd --local --domain > /etc/passwd
> mkgroup --local --domain > /etc/group
>
> My system configuration is:
>
> Microsoft Windows XP [Version 5.1.2600]
> Cygwin 1.5.5-1
>
> What am I overlooking?
> Thanks,
> Derek

You're apparently overlooking the Cygwin problem reporting guidelines at
<http://cygwin.com/problems.html>, especially the bit about attaching
(as an uncompressed text *attachment*) the output of "cygcheck -svr".
That output will provide information to confirm or deny my guess below.

Are you using FAT or FAT32?  If the former, read up on the "ntea"
setting in the CYGWIN environment variable
(<http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>).  If the
latter, you're out of luck, apparently.
<http://cygwin.com/acronyms/#PTC>.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his
route to the bathroom is a major career booster."  -- Patrick Naughton

Attachment: cygcheck.out
Description: cygcheck.out

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