Solved

chmod not working on cygwin

Posted on 2002-05-17
2
1,063 Views
Last Modified: 2010-05-18
I'm running cygwin and I change the protections with chmod but nothing happens? What do I need to do?


$ ls -l
total 2
-rw-r--r--    1 Administ None         1675 May 17 14:48 fsmake13

$ chmod -v u+x fsmake13
mode of `fsmake13' changed to 0744 (rwxr--r--)

$ ls -l
total 2
-rw-r--r--    1 Administ None         1675 May 17 14:48 fsmake13

$ whoami
Administrator
0
Comment
Question by:JamesHartnett
2 Comments
 
LVL 7

Accepted Solution

by:
yoren earned 50 total points
ID: 7017568
You have to set your CYGWIN environment variable to "ntsec" or "ntea", depending on whether you use NTFS or FAT32. See the Cygwin FAQ entry on this for more info:

http://cygwin.com/faq/faq_4.html#SEC45
0
 

Author Comment

by:JamesHartnett
ID: 7040465
I guess this is the correct way to go but I can't understand why the rest of the people at work don't have this option set.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Adding Computers to AD groups through an SCCM Task Sequence
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question