Solved

chmod not working on cygwin

Posted on 2002-05-17
2
1,057 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now