delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/02/10:20:26

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
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <tmbdab95 AT comcast DOT net>, <cygwin AT cygwin DOT com>
Subject: RE: newbie question: everything is executable
Date: Mon, 3 Jun 2002 00:20:05 +1000
Message-ID: <000801c20a40$97df8c70$0200a8c0@lifelesswks>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <NEBBKKHDKLFPPMDMDBMKAEDNCBAA.tmbdab95@comcast.net>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
X-OriginalArrivalTime: 02 Jun 2002 14:20:01.0531 (UTC) FILETIME=[951744B0:01C20A40]

Try mount --help.

Rob

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Tom Brown & Deb Burkey
> Sent: Monday, 3 June 2002 12:15 AM
> To: cygwin AT cygwin DOT com
> Subject: newbie question: everything is executable
> 
> 
> Hello,
> I've looked around the FAQ, guides, and web, but don't see 
> the answer yet.
> I just installed Cygwin on a Win98 box, but I've used UNIX 
> for years.  The
> guides say that chmod only lets you modify the +w attribute, 
> and that the
> mount table can determine the attributes for all files in the 
> mounted tree.
> However, every file I create in my $HOME (or below) is executable upon
> creation.  E.g., if I do the following:
>  $> cat > foo
>  $> echo $PATH
>  $> ctrl-D
> and then type "foo", I get my path.  I am not doing a 
> "source" on "foo",
> just typing "foo". On any system I've used previously, text 
> files are not
> automatically executable - you can source them to exec their 
> contents, but
> to make them executable you had to give them the +x 
> attribute.  How can I
> remove the x attribute from file in my directory?  And 
> prevent them from
> creating with that attribute in the first place?
> 
> Thanks,
> Tom
> 
> 
> 
> --
> 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/
> 
> 


--
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/

- Raw text -


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