Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-17-2005, 11:51 AM   #1
Registered: Feb 2003
Location: Boston, MA
Distribution: RedHat 9
Posts: 39

Rep: Reputation: 15
Samba Permissions - RWX for all Users

I have an FEDORA 3 box sharing out a mounted secondary 60GB drive at /mnt/share and would like to give everyone on my LAN RWX permissions to the root level directory (Share) and everything 'below' it.

I've created a user with:

useradd -d /dev/null -s /bin/false -u 123 samba

and I'm mounting the drive with :

/dev/hdd1 /mnt/test vfat auto,rw,uid=123 0 0

and the snipped /etc/samba/smb.conf file has:
guest account = samba

path = /mnt/share
writeable = yes
browseable = yes
valid users = nobody, samba
public = yes
create mask = 0777

but my users can not write to /mnt/share/Share or any of the sub-directories. They can browse and open the files and folders however.

chmod /mnt/share 777 leaves my ls -l /mnt/share listing as......

Can someone offer any advice? I'm aware of the security 'problems' with wide open drives and for the moment....I'm okay with that.

Thank you in advance......

Last edited by joshnya; 05-17-2005 at 11:53 AM.
Old 05-17-2005, 12:00 PM   #2
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,506

Rep: Reputation: 100Reputation: 100
How about chaging the [share] like this:

path = /mnt/win/shared
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes

i. e. add a "create mode" line? This works fine for me on my Rh9 system in allowing all users on my LAN to read and write to /mnt/win/shared...
Old 05-17-2005, 12:28 PM   #3
Registered: Feb 2003
Location: Boston, MA
Distribution: RedHat 9
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks rylan76:

Will those chagnes to the smb.conf file automatically change the RWX permissions on all the sub-directories in the /mnt/share directory once restarting 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
smb.conf entry for rwx access by multiple users thegnu Linux - Networking 1 05-13-2005 10:24 PM
RWX permissions w/ Knoppix? suprpenguin04 Linux - General 1 11-02-2004 12:41 PM
"rwx" and "valid users" - which one has precedence? kenji1903 Linux - Networking 8 07-27-2004 11:21 AM
WinXp and Redhat Sharing RWX permissions mickboda Linux - General 1 03-14-2004 05:41 AM
Samba: How to set permissions on subfolders for different users. adewri Linux - Software 3 08-25-2003 12:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 AM.

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