www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Tue, 24 Sep 2002 10:11:44 -0400 |
From: | "Zieg, Mark" <mark DOT zieg AT lmco DOT com> |
Subject: | RE: chmod in cygwin shell |
To: | "'Mario Ohnewald'" <mario DOT ohnewald AT gmx DOT de>, |
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> | |
Message-id: | <7424935D9B6CD311B72800508B108FD20D1767B4@emss03m08.orl.lmco.com> |
MIME-version: | 1.0 |
> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |