tech-pkg archive

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

Re: open issue of *OWN/*GRP variables and installation to DESTDIR




To: tech-pkg%NetBSD.org@localhost

Subject: Re: open issue of *OWN/*GRP variables and installation to DESTDIR

From: Roland Illig <rillig%NetBSD.org@localhost>

Date: Thu, 10 Jan 2008 04:46:39 +0100


Dieter Baron wrote:

In article <4782CF36.3080500%NetBSD.org@localhost> Roland wrote:
: I asked myself the same quest
ion: Most packages can install their  : executables with permission 555 and their data files with 444, so it  : doesn't matter at all whom they belong to.

  The owner of a file can change a file even if it is mode 444:
        chmod 644 <file>
is allowed for the owner.


But even he is not supposed to d
o that, since then "pkgadmin check" will  fail. So for all these files, it doesn't really matter.

Of course, you need to make sure that the owner of all the files is a  trusted user. That means that installing packages as root must not  create files that are owned by random users. When pkg_add is run by an  unprivileged user, this is not a problem.

Roland



References:

Re: open issue of *OWN/*GRP variables and installation to DESTDIR
From: Dieter Baron




Prev by Date: Re: test for curses before bootstrap

Next by Date: Re: how to restart pbulk ?

Previous by Thread: Re: open issue of *OWN/*GRP variables and installation to DESTDIR

Next by Thread: Re: open issue of *OWN/*GRP variables and installation to DESTDIR

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index