delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/15/08:49:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <30931008.post@talk.nabble.com>
Date: Tue, 15 Feb 2011 05:48:58 -0800 (PST)
From: hardya <andrew_hardy AT hardysoft DOT co DOT uk>
To: cygwin AT cygwin DOT com
Subject: Newbie confused about chmod
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I am running cgwin (for omnet++, but that's a BTW) on Windows 7 (NTFS).  I
cannot chmode files I untarred into a folder and I cannot chmod a file I
create in cgwin myself.

I understood that you could do this if the file system was NTFS.  The bottom
line is I have an executable that is not executable.  In addition to solving
that though it might be nice to get a better understanding.

What I don't understand is that if I run a make.exe (still me as user I
presume) the make process manages to produce a file with executable
permissions and presumably that's not just due to the directory, since the
files I create aren't executable and cannot be made so.

I started to read the netsec page ref'd from the faq, but it's a big
learning curve and I had hoped there was a short answer, though I don't seem
to be able to find it any where.  Perhaps I am using cgwin for not what was
intended and I should go ahead and do a full linux install?

Any help or advice greatly appreciated for this newbie.

-- 
View this message in context: http://old.nabble.com/Newbie-confused-about-chmod-tp30931008p30931008.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019