From: Tim <fox...@gm...> - 2007-08-21 06:25:09
|
[foxer@athena]:/$ gfsmount -o allow_other /gfs [foxer@athena]:/$ cd /gfs [foxer@athena]:/gfs$ mkdir test [foxer@athena]:/gfs$ ls -la drwxr-xr-x 6 foxer users 152 2007-08-21 10:52 ./ drwxr-xr-x 22 root root 672 2007-08-17 16:37 ../ drwxr-xr-x 2 foxer users 48 2007-08-17 16:37 test/ and then [root@athena]:/$ cd /gfs [root@athena]:/gfs$ mkdir test2 [root@athena]:/gfs$ ls -la drwxr-xr-x 6 foxer users 152 2007-08-21 10:52 ./ drwxr-xr-x 22 root root 672 2007-08-17 16:37 ../ drwxr-xr-x 2 foxer users 48 2007-08-17 16:37 test/ drwxr-xr-x 2 foxer users 48 2007-08-17 16:37 test2/ i hope that will be drwxr-xr-x 2 root root 48 2007-08-17 16:37 test2/ please, may i know how to do ? that is big problem for my file system. i want to get user's uid not process's uid. so may i have other way to get information of user at static int gfs_mkdir(const char *path, mode_t mode) { ............... } thanks |