From: Michał B. <mic...@ge...> - 2010-04-19 07:06:48
|
The regular commands chown/chgrp should work. Probalby you mean 999:999 caused by a default option "maproot" in mfsexports.cfg (see: "man mfsexports.cfg"). If the root is to be the root on the MooseFS (what with the access to the root on one of the computers and any account on the other computer connected to the same MooseFS - gives you access to the root on the other compuer) you should use: "maproot=0:0". If you mount with "nosuid,nodev" and if none of programs is run under root witih MooseFS, there is no risk. Kind regards Michał Borychowski From: yang xu [mailto:sky...@gm...] Sent: Monday, April 12, 2010 5:39 PM To: moo...@li... Subject: [Moosefs-users] How to change the uid and gid of files stored in MooseFS? Well, thank you for creating such a good file system, the MooseFS is really easy to use, however, I don't know how to set the uid and gid of each file, the default are 999:999, now in my system, every client shared its files with others, so how can I set the authority of those files, thank you! XuYang from China. |