public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Brian Wilson" <wilson@ds.net>
To: cygwin@cygwin.com
Subject: Re: Newbie confused about chmod
Date: Tue, 15 Feb 2011 17:59:00 -0000	[thread overview]
Message-ID: <20110215175334.M55060@ds.net> (raw)
In-Reply-To: <30931008.post@talk.nabble.com>


> I cannot chmod 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.
>
> (snip)
>
> Any help or advice greatly appreciated for this newbie.
> 

Just to get rid of the obvious possibilities, check to see who owns the 
directory you are in, and what permissions the directory has.  If you do not 
own the directory, or if you do not have permission to change files in the 
directory, even if the file permissions grant you access, you won't be able to 
make permission changes.

If you can create the file but you can't chmod it to executable status, there 
may be some issue with your overall user access rights.

Brian S. Wilson


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

      parent reply	other threads:[~2011-02-15 17:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-15 13:49 hardya
2011-02-15 14:43 ` Thorsten Kampe
2011-02-15 16:52   ` hardya
2011-02-15 17:57     ` Greg Chicares
2011-02-15 18:04       ` Christopher Faylor
2011-02-15 19:27         ` chmod indicates success, but does not succeed hardya
2011-02-15 19:57           ` Corinna Vinschen
2011-02-16  0:40             ` hardya
2011-02-16  5:50               ` Andrew DeFaria
2011-02-16  8:57                 ` Corinna Vinschen
2011-02-16 16:26                   ` Christopher Faylor
2011-02-16 22:52                   ` hardya
2011-02-15 18:02     ` Newbie confused about chmod Eric Blake
2011-02-15 17:59 ` Brian Wilson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110215175334.M55060@ds.net \
    --to=wilson@ds.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).