Shawn Walker wrote:
Tom Mueller (plain-text) wrote:
pkg(1) now prints a message and returns 1. However, for a user image where the user is unable to change the ownership of a file anyway, not having the required user/group is ignored.

I don't agree with the assumption that a user image automatically implies that a user doesn't have the permissions to change ownership of a file.

With the change, the Image class has a "can_change_file_ownership" method that tests to see if the user running the command actually has the ability to change file ownership within the image. This test is only done for non-ENTIRE images. Only if it is a non-ENTIRE image AND the user cannot change file ownership of a temporary file are invalid owner/group tags ignored.

AFAIK, I'm not making the assumption that you don't agree with.

Tom

<<attachment: Tom_Mueller.vcf>>

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to