Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-03-2005, 03:40 PM   #1
LQ Newbie
Registered: Dec 2004
Location: Michigan
Distribution: Slackware, Red Hat, Ubuntu
Posts: 23

Rep: Reputation: 1
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
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?

Old 08-04-2005, 06:21 AM   #2
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 781
Blog Entries: 6

Rep: Reputation: 75
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=


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
can I mount two devices to the same mount point? gsgleason Linux - Hardware 7 03-04-2005 05:29 AM
Multiple mount --bind's to 1 mount point ? Etraman Slackware 6 12-23-2004 07:18 PM
samba mount point problems novacrasher Linux - Wireless Networking 1 12-02-2004 09:58 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration