On Apr 7, 2010, at 9:46 AM, Bart Taylor wrote: > > Attached is a patch that partially fixes the RootSquash option. Prelude was > using an old fsid variable that was no longer being used. I changed that to > the target_fs_id value in the s_op, and that made some progress. I can see in > the server logging that the squashing code is correctly replacing the uid and > gid fields in the request credentials. Most operations like changing another > user's file, removing, changing attributes, etc now result in a permission > denied message.
Hi Bart, I committed your fix to HEAD. Thanks for the patch! > > I am still having an issue when creating a file as root. The file is created > and owned by root.root, and no data is written to the file. In previous > incarnations of this option, the empty file would be created but owned by > AnonUID.AnonGID as defined in the fs.conf file. Any ideas as to why this > might not work the same way now? I don't have any ideas. Are you able to step through translate_ids? Does it get to iterate_root_squash_wildcards? -sam > > Bart. > > > > > On Tue, Apr 6, 2010 at 9:16 AM, Bart Taylor <[email protected]> wrote: > > Has anyone tried using the RootSquash/RootSquashExceptions options recently? > I cannot make them work with the 2.8.2 release. > > Bart. > > > <rootsquash-fsid.patch>_______________________________________________ > Pvfs2-developers mailing list > [email protected] > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers _______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
