[1.7] Setup.exe default ownership of files in fresh install [Admin:None?]

Corinna Vinschen corinna-cygwin@cygwin.com
Mon May 11 11:08:00 GMT 2009


On May  9 12:33, Chris Rodgers wrote:
> Dear List,
>
> I have two admin accounts on a Windows XP Pro machine. I installed  
> Cygwin 1.7 beta using Admin1 initially. This morning, I tried to update  
> some packages from account Admin2.
>
> I kept getting errors about not being able to update files because they  
> were "in use".
>
> It turned out that I just needed to blow away all the permissions from  
> the cygwin tree and add an inheritable ACL for the Administrators group.

So you removed all the carefully crafted POSIX permissions.  Oh well.

> But - as the other posters have said, shouldn't setup just default to  
> installing as "Administrators" rather than a specific admin user so that  
> it is possible to share the cygwin tree between users?

I applied a patch to setup which allows all admins to replace files in a
given installation without falling back to non-POSIX permissions.  I
just uploaded setup version 2.621 to http://cygwin.com/setup-1.7.exe
which contains that patch.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-apps mailing list