chmod not working on Windows XP

Derek Mahar D.Mahar@penson.ca
Fri Oct 3 17:06:00 GMT 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 19814 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031003/0c383454/attachment.obj>
-------------- next part --------------
--
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