X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 28 Nov 2011 10:27:33 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Can't chmod/chown any more on FAT32 after doing cyglsa-config Message-ID: <20111128092732.GB23036@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4ED2719A DOT 8010201 AT yahoo DOT com DOT cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4ED2719A.8010201@yahoo.com.cn> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Nov 28 01:21, Benton wrote: > Hello forks, > > I wanted to setup cron as a service, but after first doing cyglsa-config > and reboot, it turned out that I can't do any permission related > operation in my home directory any more, just as the title described. I > have two question is : Is this a supposed behavior and what should I do > if I want to change the permission of a file in my home directory now ? > ( cygwin is installed on a FAT32 partition). Is this process reversible > and if yes, how would I unset cyglsa ? > Cygwin version is 1.7.9 (0.237/5/3) running on Windows XP SP3. Hope > someone can help explain this a bit ? I really appreciate any possible help. That has nothing to do with cyglsa-config or installing cyglsa. FAT/FAT32 does not have the capability to store owner and permission information on files. It only supports DOS attributes. Therefore the only possible operation on FAT/FAT32 files supported by chmod is setting or clearing the R/O DOS attribute to fake setting or clearing the 'w' bit. chown doesn't work at all. The owner and group information is always faked to be the current user. If you want real permissions and real user/group information stored on the filesystem, you have to convert your FAT32 to NTFS. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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