Solved

chmod not working on cygwin

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

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows timing on domain Pcs 4 459
Windows Explorer and WinZXip 4 534
Windows Foriegn Disk 3 141
Migrating from IIS5 to IIS8.5 3 182
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…
The world seems to conceive of a curious bubble separating IT from “the business.”  More so than just about any other pursuit in the commercial world, people think of IT as some kind of an island.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

696 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