Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-return: allowed Date: Tue, 24 Sep 2002 10:11:44 -0400 From: "Zieg, Mark" Subject: RE: chmod in cygwin shell To: "'Mario Ohnewald'" , "'cygwin AT cygwin DOT com'" Message-id: <7424935D9B6CD311B72800508B108FD20D1767B4@emss03m08.orl.lmco.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT > 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/