This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: chmod in cygwin shell
- From: "Zieg, Mark" <mark dot zieg at lmco dot com>
- To: "'Mario Ohnewald'" <mario dot ohnewald at gmx dot de>, "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Tue, 24 Sep 2002 10:11:44 -0400
- Subject: RE: chmod in cygwin shell
> I cant set the x bit to my files. I am the user who installed cygwin and
who
> dowloaded thee files which i want
> to make executeable now.
This almost certainly isn't the right long-term solution, but if you just
want a quick fix, you might try this:
ziegm $ touch newfile
ziegm $ ls -la newfile
-rw-r--r-- 1 ziegm None 0 Sep 24 10:04 newfile
ziegm $ cacls newfile /E /G Everyone:F
processed file: C:\cygwin\home\ziegm\newfile
ziegm $ ls -la newfile
-rwxrwxrwx 1 ziegm None 0 Sep 24 10:04 newfile
cacls ("Change ACLs") is WinNT/2k's analog to chmod (it's not a direct
mapping, but they're similar).
Anyway, I found it when having the same "chmod +x" problem on my system. My
problem went away when I learned to do the "mkpasswd -u ziegm -d mydomain >>
/etc/passwd" setup step.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/