This is the mail archive of the
mailing list for the Cygwin project.
Re: Installed, Admin can run, other account can't...
On Fri, 26 Sep 2003, Pierre A. Humblet wrote:
> At 11:31 AM 9/26/2003 -0400, Igor Pechtchanski wrote:
> >The "real" fix would be to make setup create the directories with the
> >right permissions from the start. I'm not sure this is possible.
> >Perhaps people with more knowledge of ACLs (Pierre, Corinna, CGF?) will
> >chime in and offer their opinions...
> Sure, but what are the right permissions? Some people objet to giving
> access to Everybody. The group name and whether the group should have
> write access are matters of local preference.
> So setup uses the default inheritable acl of the directory under which
> cygwin is installed. It works just fine in most cases. I don't know why
> in this case group Users got no rights. This is not a typical factory
> default, it was most probably set that way for some local reason.
> Perhaps the exit message of setup should be to remind the installer
> to verify the permissions (PTC).
> Or perhaps that's another test that could be added into /etc/profile,
> nagging the user "are you sure this is really what you want".
Hmm, I guess it would make sense for setup to check the permissions on the
Cygwin root directory *before* installing any files in it, especially if
it's a new install and it's creating the root directory (I suppose it
would inherit from c:\ in that case, right?). This way, if setup
determines that the root directory *it just created* has very restrictive
permissions, it could warn the user, or even open a Windows security
dialog for c:\cygwin (or whatever the root is) and let the user fix the
permissions before creating more directories or installing files. Again,
this is all PTC, and I just wanted to get this into the archives for now.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html