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

Re: smbumount als User



On 04.Mär 2005 - 15:34:41, Peter Wiersig wrote:
> On Fri, Mar 04, 2005 at 02:47:43PM +0100, Andreas Pakulat wrote:
> > 
> > Gegenfrage: Wie sieht deine fstab aus? Ich kann nämlich nichtmal
> > als user mounten, trotz "user" in der fstab...
> 
> Man braucht Schreibrechte am Mountpoint und das suid bit auf
> smbmnt!

Da fehlt aber immernoch irgendwas:

andreas@morpheus:~>ls -l /usr/bin/smbmnt
-rwsr-xr-x  1 root root 9720 2004-12-17 23:45 /usr/bin/smbmnt
andreas@morpheus:~>ls -dl /mnt
drwxrwxrwx  18 root root 1024 2004-11-11 21:50 /mnt
andreas@morpheus:~>ls -dl /mnt/smb
drwxrwxrwx  2 root root 1024 2004-02-26 09:07 /mnt/smb

andreas@morpheus:~>mount /mnt/smb
added interface ip=192.168.0.2 bcast=192.168.255.255 nmask=255.255.0.0
Password:
cannot mount on /mnt/smb: Operation not permitted
smbmnt failed: 1

//192.168.0.1/andrea  /mnt/smb   smbfs noauto,user,username=andreas,sync 0 0

Andreas

-- 
All the troubles you have will pass away very quickly.



Reply to: