Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-17-2005, 06:06 PM   #1
Registered: May 2004
Location: Cairo - Egypt
Distribution: FC28
Posts: 124

Rep: Reputation: 15
Question Mounting Samba Shares ad user

I had an old version of samba 2.something
i tried mounting samba shares as user and it worked
since I have upgraded to the latest samba
then typing command chmod +s /usr/bin/smbmnt & trying chmod a+s /usr/bin/smbmnt
trying also the same with /usr/sbin/smbmount
I get the message only root can mount shares
any idea ( other than downgradig )
Old 06-17-2005, 10:10 PM   #2
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
I've been using smbmount with Samba 3.x for a while without any issues (well other than smbfs suckage), so it should work fine. smbmnt should be setuid root, but smbmount should not. And I don't know if it matters, but don't set all of the setuid bits with chmod a+s, just set the user bit.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 10:55 AM
mounting shares with samba darkleaf Linux - Software 1 02-13-2005 06:13 AM
Mounting SMB shares as a non-root user dmancine Linux - Networking 0 08-24-2004 03:24 PM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 02:23 PM
Mounting windows shares...using samba tarballed Linux - Software 7 07-01-2003 05:11 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration