Bart,
Where is image.is_liveroot used? I wasn't able to find a call to it in
the new code. It's not clear what the intention of this method is.
Given a user image with a non-root user running the pkg commands, what
is the expected behavior of file and directory actions in the presence
of these actions?
Specifically, the user and group actions will add these entries to the
passwd and group files that are local to the image, and the file and
directory actions will then be able to translate user and group names to
ids during installation of a file/directory, but the action will still
not be able to change the ownership of the file/dir to another user.
(I'm not sure than anything else can be done on this.)
Maybe it would be appropriate to provide the ability in the file and
directory actions to specify that the file ownership should just be that
of the user that is running pkg.
Thanks.
Tom
Bart Smaalders wrote:
http://cr.opensolaris.org/~barts/user+group_actions/
Add user and group actions....
more will be added later (user_attr attributes in particular),
but this makes upgrades much nicer for now.
- Bart
begin:vcard
fn:Tom Mueller
n:Mueller;Tom
org:Sun Microsystems, Inc.;Update Center/OpenInstaller Software
adr:;;21915 Hillandale Dr;Elkhorn;NE;68022;USA
email;internet:[EMAIL PROTECTED]
title:Senior Staff Engineer
tel;work:877-250-4011
tel;fax:877-250-4011
tel;home:402-916-9943
x-mozilla-html:TRUE
version:2.1
end:vcard
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss