|
From: Miklos S. <mi...@sz...> - 2006-01-27 12:37:18
|
> Can I somehow mount a fuse filesystem in a way, that all
> files/directories in it created by users will have their uids/gids?
One way it to have a separate filesystem for each user's home, and run
the filesystem daemon with the user's privileges.
The other way is to
- use the "default_permissions" mount option to make the kernel
check file permissions
- set file ownership in your filesystem to fuse_get_context()->uid
and ->gid on file/directory creation
Miklos
|