X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: "Brian Wilson" To: cygwin AT cygwin DOT com Subject: Re: Newbie confused about chmod Date: Tue, 15 Feb 2011 12:59:23 -0500 Message-Id: <20110215175334.M55060@ds.net> In-Reply-To: <30931008.post@talk.nabble.com> References: <30931008 DOT post AT talk DOT nabble DOT com> X-OriginatingIP: 57.250.242.249 (wilson) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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