This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: newbie question: everything is executable


Try mount --help.

Rob

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Tom Brown & Deb Burkey
> Sent: Monday, 3 June 2002 12:15 AM
> To: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]