suid is set for some of the lufs files:
Code:
[caysho@petrata caysho]$ ls -la /usr/bin/lufs*
-rwxr-xr-x 1 root root 22744 Jul 19 2004 /usr/bin/lufsd*
-rwsr-sr-x 1 root root 5976 Jul 19 2004 /usr/bin/lufsmnt*
-rwsr-sr-x 1 root root 7320 Jul 19 2004 /usr/bin/lufsmount*
-rwsr-sr-x 1 root root 5592 Jul 19 2004 /usr/bin/lufsumount*
I can mount an ftpfs lufs point ok, my fstab entry:
Code:
none /home/caysho/mage lufs fs=ftpfs,host=mage,username=,password=,suid,user,noauto,users 0 0
but when I unmount it:
Code:
umount: /home/caysho/mage mount disagrees with the fstab
At this point I haven't entered the directory, but I can list it ok:
Code:
[caysho@petrata caysho]$ ls /home/caysho/mage -la
total 6
drwxr-x--- 1 caysho caysho 512 Aug 27 14:24 ./
drwxr-xr-x 73 caysho caysho 4096 Aug 27 14:24 ../
drwxr-xr-x 2 daemon daemon 0 Jan 7 2005 bin/
dr-xr-xr-x 2 daemon daemon 0 Aug 21 00:00 codecs/
drwxr-xr-x 4 daemon daemon 0 Jan 7 2005 dev/
dr-xr-xr-x 5 daemon daemon 0 Jan 7 2005 etc/
drwxrwxrwx 9 daemon daemon 1024 Jan 7 2005 initrd/
drwxr-xr-x 2 daemon daemon 0 Jan 7 2005 lib/
lrwxrwxrwx 1 daemon daemon 15 Jan 7 2005 linuxrc -> ./initrd/linuxrc*
drwxr-xr-x 2 daemon daemon 0 Jan 7 2005 lost+found/
drwxr-xr-x 4 daemon daemon 0 Jan 7 2005 mnt/
dr-xr-xr-x 55 daemon daemon 0 Jan 7 2005 proc/
drwxr-xr-x 2 daemon daemon 0 Jan 7 2005 ramfs/
dr-xr-xr-x 2 daemon daemon 0 Aug 15 00:00 sbin/
drwxr-xr-x 10 daemon daemon 0 Jan 7 2005 sys/
drwxr-xr-x 2 daemon daemon 0 Jan 7 2005 tmp/
dr-xr-xr-x 6 daemon daemon 0 Aug 15 00:00 usr/
dr-xr-xr-x 6 daemon daemon 0 Aug 15 00:00 var/
(It's running
geexbox).
Then I check if there's anything holding it open:
Code:
[root@petrata caysho]# ps ax | grep lufs
5286 ? Ssl 0:00 /sbin/mount.lufs none /home/caysho/mage -o rw noexec nosuid nodev noauto users user fs ftpfs host mage username password
If I then kill the process, I can unmount it as root. As myself I still get the first error.
Any suggestions ?
I'm hoping I'm missing something simple