RE: mount -t smbfs to be read/write to all users & not only root

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

 




> -----Original Message-----
> From: Iain Buchanan [mailto:iain@xxxxxxxxxxxx]
> Sent: Wednesday, November 19, 2003 10:32 AM
> To: shrike-list@xxxxxxxxxx
> Subject: Re: mount -t smbfs to be read/write to all users & not only
> root
> 
> sudo mount -t smbfs -o 
> username=xxx,pasword=xxx,uid=iain,gid=niceppl 
> //servername/sharename /mnt/share

That worked to a point.

with uid= and gid= will mount it to the specified uid and gid.

I tried setting suid to /usr/bin/smbmnt then putting a line into /etc/fstab 
//server/Stuff     /tmp/ttt    smbfs   username=xxx,password=xxx,user 0 0

will work using mount /tmp/ttt but umount /tmp/ttt will come out with
"error, only root allowed to do so"


What happens if I want users to be able to mount/umount it manually. sort of
like how we mount the cdrom or floppy or usb.

Q: isn't there a way to mount/umount using nautilus or maybe
linneighbourhood??


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux