tags 253437 confirmed thanks This bug still happens with the current version of smbumount in Debian. smbumounting a directory changes the group owning /etc/mtab to the primary group of the user doing the smbumount:
[EMAIL PROTECTED]:/# ls -l /etc/mtab -rw-r--r-- 1 root root 456 2005-12-06 18:57 /etc/mtab [EMAIL PROTECTED]:~# su - spongebob [EMAIL PROTECTED]:~$ smbmount \\\\mykerinos\\public /home/spongebob/toto -o username=bubulle,password=XXXXXXXX [EMAIL PROTECTED]:~$ ls -l toto total 32 srwxr-xr-x 1 spongebob spongebob 0 Dec 5 08:57 OSL_PIPE_1000_SingleOfficeIPC_fa4cc4a516440c72b34a9977dd5c191 drwxr-xr-x 1 spongebob spongebob 0 Dec 2 06:44 bubulle -rwxr-xr-x 1 spongebob spongebob 19 Dec 5 22:58 cvsiJQNc8 -rwxr-xr-x 1 spongebob spongebob 18 Dec 5 23:02 cvssmPLOc .../... [EMAIL PROTECTED]:~$ smbumount /home/spongebob/toto [EMAIL PROTECTED]:~$ ls -l toto total 0 [EMAIL PROTECTED]:~$ logout [EMAIL PROTECTED]:~# ls -l /etc/mtab -rw-r--r-- 1 root spongebob 456 2005-12-06 19:03 /etc/mtab r -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]