On Fri, Mar 28, 2008 at 11:40 AM, Tim Knitter <[EMAIL PROTECTED]> wrote: > > > Tom, > > > > Tim, > > A few questions/comments: > > > > 1. How will this work for user images being manipulated by non-root users? > > > > It won't since only root can manage Boot Environments. I'll have to add > an uid check and skip the recovery stuff for user images.
If I might interject, why a uid check? Can't users with a uid other than zero technically perform these operations with sufficient privileges? The last time I asked another Sun engineer about this, he said the correct way to deal with these operations was to attempt them, and if they fail with a permissions error, you know you can't do it :-) -- Shawn Walker, Software and Systems Analyst http://binarycrusader.blogspot.com/ "To err is human -- and to blame it on a computer is even more so." - Robert Orben _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
