Question about setfsuid.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm working on a fuse module to provide access to various resources
like local disks and remote smb shares. (working on access to
OpenEnterprise server)

Now the module is running as root, and when creating files (or
otherwise changing them) it takes the uid and the gid of the user
requesting
the action into account. Fuse has this ability to offer the uid and
the gid whenever needed.

Is the use of setfsuid (and setfsgid) a good idea to set the uid and
the gid to the user requesting the action temporarly?

Stef
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux