This is the mail archive of the
mailing list for the Cygwin project.
Re: Some useful permission setting scripts
On Wed, Jun 11, 2003 at 12:59:59PM +0100, Max Bowsher wrote:
> Max Polk wrote:
> > WARNING: If you omit "administrators" then if you reinstall Windows,
> > you can NEVER, NEVER, EVER get to the file again, even as
> > administrator! (SOLUTION: use partition magic, convert
> > your drive to "FAT32" drops the bad permission, then
> > convert your drive back to "NTFS" which sets default
> > permissions letting you get to your files again).
> Not true.
> Let me introduce you to an easier way...
> As an Administrator, simply "Take ownership" ( Properties > Security >
> Advanced > Owner, and set it to yourself or Administrators ).
> You can now edit the permissions.
Or even use `chown' in Cygwin as administrator.
Btw., you can also use Cygwin's setfacl instead of cacls.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html