samba mount when not owner of mount point
Is there any way to allow users to mount a samba share to a mount point that he doesn't own? I have this mount point:
drwxrwxrwx 2 root users 4096 Aug 3 10:42 /views/master/viewmnt/ I have this /etc/fstab entry: //vader/eagts_build /views/master/viewmnt smbfs ro,noauto,users,guest 0 0 I'd like to allow any user to execute this command (successfully): mount /views/master/viewmnt or smbmount //vader/eagts_build /views/master/viewmnt I always get the following error: [barb@stimpy /views]$ mount /views/master/viewmnt/ Anonymous login successful cannot mount on /views/master/viewmnt: Operation not permitted smbmnt failed: 1 I've tried this with and without the "guest" option. I don't want anyone in particular to have to own this mount point. Is that possible? Thanks, Barb |
i think do not use 0 0 at the end in fstab use 1 2 because 0 0 is unreadable but i suggest not to use fstab to remote mount if u lost connection to the server then ur workstation cannot start so better use manual mount smbfs or make some simple script run on startup after all system start
i prefer use credentials= |
All times are GMT -5. The time now is 12:28 AM. |