This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Newbie confused about chmod
- From: "Brian Wilson" <wilson at ds dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 15 Feb 2011 12:59:23 -0500
- Subject: Re: Newbie confused about chmod
- References: <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