|
From: Tomasz C. <ma...@wp...> - 2006-01-27 11:39:15
|
I just used my first FUSE filesystem - LZOlayer_fs. It's a compressed filesystem that I'm going to use on an embedded system as a homedir for users. What I noticed however, is that it seems impossible to use a fuse mount point for more users, i.e., all files created in such a mount point are always owned by one user. An example: We mount fuse/LZOlayer and go to the mount point: root# ./lzo_fs -s -o allow_other /mnt/fuse root# cd /mnt/fuse root# mkdir test root# chmod 1777 test tch$ cd /mnt/fuse/test tch$ mkdir test_dir $ ls -l total 4 drwxr-xr-x 2 root root 4096 Jan 26 22:24 test_dir/ Unfortunately, "test_dir" created by "tch" user is owned by "root". On a normal filesystem I would expect it to be owned by "tch". Because of this, I can't really use such a filesystem for /home, as all files will be owned by root, and not the users. Can I somehow mount a fuse filesystem in a way, that all files/directories in it created by users will have their uids/gids? I tried using different mount options, without luck. -- Tomasz Chmielewski http://wpkg.org |