From: Ricardo J. B. <ric...@da...> - 2012-04-13 20:36:31
|
Hello, list. I need to mount a filesystem with suid enabled and found I can't do it from fstab: mo matter what options I set there, the mount always uses nosuid,nodev which are fuse's default. This is in my /etc/fstab: mfsmount /opt fuse defaults,noatime,suid,nodev,_netdev,mfsmaster=master,mfssubfolder=/ 0 0 And this is in /proc/mounts: mfs#master:9421 /opt fuse rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other 0 0 However, if I mount it with: mfsmount -o noatime,suid,nodev /opt -H master -S / I got this in /proc/mounts: mfs#master:9421 /opt fuse rw,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other 0 0 I have tried putting "suid" in /etc/mfs/mfsmount.cfg on the client but it makes no difference when using fstab. All this is with CentOS 5.8 64 bits servers and a CentOS 5.8 32 bits client but it also happens in a CentOS 5.8 64 bits client, all of them running mfs-1.6.24 installed from RepoForge RPMs and fuse 2.7.4 from standard CentOS repositories. According to fuse's README: "Filesystems are mounted with '-onodev,nosuid' by default, which can only be overridden by a privileged user." But I'm mounting MFS as root from command line. Is this a bug in MFS? fuse? me? Thank you, -- Ricardo J. Barberis Senior SysAdmin / ITI Dattatec.com :: Soluciones de Web Hosting Tu Hosting hecho Simple! ------------------------------------------ |