Mail Archives: cygwin-developers/2002/10/22/17:36:12
--=-KxWTFmS47dcqK8oYz0jJ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Wed, 2002-10-23 at 07:31, Christopher Faylor wrote:
> On Wed, Oct 23, 2002 at 07:22:30AM +1000, Robert Collins wrote:
> >On Wed, 2002-10-23 at 07:19, Christopher Faylor wrote:
> >> >- Do the modes depend on the value of ntsec when setup is run=20
> >> > (e.g. inheriting from the directory)? =20
> >>=20
> >> Nope. setup isn't a cygwin app, so...
> >> cgf
> >
> >And because ntsec wasn't the default we couldn't set reasonable acls...
>=20
> Why would that matter? If setting reasonable acls is going to hurt the
> CYGWIN=3Dnontsec case then that's not good either.
We need /etc/passwd and /etc/group to be filled out to understand what
nt group and user to use. Setup.exe's files by default are executable by
'everyone'.
If we can depend on a correct /etc/passwd we should be able to do
something. We will need to have a postinstall script for cygwin1.dll
that sets the permissions on cygwin1.dll, mkpasswd and mkpgroup, and
ensure that that script runs first, but that is all (off the top of my
head - may be wrong :})
Rob
--=20
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---
--=-KxWTFmS47dcqK8oYz0jJ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQA9tcTHI5+kQ8LJcoIRAon1AJ4/w0quTQbWDwXqUHjJoGJmpfHJLQCfe8uH
KWKgVDrct3gIuG7AsSaxxHY=
=CN1+
-----END PGP SIGNATURE-----
--=-KxWTFmS47dcqK8oYz0jJ--
- Raw text -