pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/mk



On Wed, Nov 04, 2009 at 04:56:20PM +0100, Bernd Ernesti wrote:
> > No, I mean with or without this change. If root doesn't have write
> > access to 644 files or 755 directories, a number of (important) packages
> > would have failed in such a setup already. Those that set
> > PRIVILEGED_STAGES=clean are the most noticable example, but many others
> > fall into this categorie as well. Or does Solaris in such an example
> > disallow access to 700, but creation or modifications of files?
> 
> Thats the other way around.
> A make clean fails because some sub directories and files are owned by
> root and can for that reason not be removed by normal users.

Alistair said the change could break because root can't access the 700
directory owned by the unprivileged user. In that case the build for
many packages would already fail, because they try to create files or
change during the install phase. The files and directories are owned by
the unprivileged user and supposedly not group or world writeable.
If root can alter/create those, root can also access a 700 directory.

Joerg


Home | Main Index | Thread Index | Old Index