From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27261 invoked by alias); 28 Nov 2011 09:28:10 -0000 Received: (qmail 27121 invoked by uid 22791); 28 Nov 2011 09:27:50 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Mon, 28 Nov 2011 09:27:35 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 0F5272C029E; Mon, 28 Nov 2011 10:27:33 +0100 (CET) Date: Mon, 28 Nov 2011 09:56:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.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@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <4ED2719A.8010201@yahoo.com.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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-11/txt/msg00414.txt.bz2 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