public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Can't chmod/chown any more on FAT32 after doing cyglsa-config
Date: Mon, 28 Nov 2011 09:56:00 -0000	[thread overview]
Message-ID: <20111128092732.GB23036@calimero.vinschen.de> (raw)
In-Reply-To: <4ED2719A.8010201@yahoo.com.cn>

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

      reply	other threads:[~2011-11-28  9:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-27 17:52 Benton
2011-11-28  9:56 ` Corinna Vinschen [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=20111128092732.GB23036@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --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).