Solved

chmod not working on cygwin

Posted on 2002-05-17
2
1,080 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

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…
This article is written by John Gates, CISSP. Gates, the SNUG President-Elect, currently holds the position of Manager of Information Systems at Lake Park High School in Roselle, Illinois.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

615 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