This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]