Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-29-2007, 01:06 PM   #1
LQ Newbie
Registered: Jul 2006
Location: Yardley, PA.
Distribution: Ubuntu, CentOS, Slackware, openSUSE
Posts: 25

Rep: Reputation: 0
samba permission help

i've got a directory with permissions 660. uid=root and gid=users. i can mount in fstab without any issue other than the directory shows on every desktop user but only those in gid=users can access and write. i'm writing a script in .kde/autostart to smbmount the directory. it won't work. as i said, i can mount in fstab without an issue but i can't smbmount it. each user can smbmount other directories that belong to them with no problem but not this shared rw drive. do i need to set sticky bit in order to smbmount? i want to run it from a script on login if possible only. can it be done?
Old 07-29-2007, 01:25 PM   #2
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
can you show us an output of your smb.conf
The we will figure it out.
Old 07-29-2007, 05:53 PM   #3
LQ Newbie
Registered: Jul 2006
Location: Yardley, PA.
Distribution: Ubuntu, CentOS, Slackware, openSUSE
Posts: 25

Original Poster
Rep: Reputation: 0
I'm connecting to a linkstation NAS. My smb.conf has nothing to do with it. As I said, I can mount in fstab without an issue using:

//server/share /share/directory smbfs with various options including fmask and dmask so it'll work

It has to do with the mount directory having root owner. i have it set with group rw permissions but when i do a smbmount, it won't let me mount it because i think it's related to the directory being root owner. Because this is a network share with multiple users, i have the group set to "users" with rw and the users accessing be in that group. but the smbmount won't work and gives me a "failed 1" error. I know it's related to the mount directory being owner root.


permissions, samba

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 permission problem (probably) pingu Linux - Software 3 01-26-2010 02:23 AM
Samba - dont have permission to browse samba share. Scrag Linux - Software 4 11-28-2006 02:42 AM
Samba permission hampeh Linux - Software 5 06-15-2005 10:41 AM
Samba permission problems anti_trend Linux - Software 11 04-22-2004 09:50 AM
Samba Permission problems... Gattancha Linux - Software 6 07-08-2003 12:49 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:13 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