Help answer threads with 0 replies.
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 07-16-2008, 11:00 PM   #1
LQ Newbie
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
Cannot Shared Folders with different rights using samba

I am a new guy in Linux system. I have set up Fedora 7 and shared folders using Samba.For the first time , I can assign folder A with user John,Alice with read and write rights. Then I create another share folder with Baker with right of read only to the same folder(folder A).
1) Now I should have Share A Folder with John and Alice - read and write
2) Second Share A with Baker with read only rights

After a few secinds, the both share changes the rights to read only.I am puzzled by this. Can anyone help me in this.
Please help me...
Old 07-17-2008, 07:01 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You cannot create a second share of the same folder. You must put all of the users in the configuration of one share per folder. Here is some code from my Samba template file that has parts that you could use to accomplish your goal.
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;   comment = Public Stuff
;   path = /home/samba/public
;   public = yes
;   writable = no
;   write list = @staff
# Audited directory through experimental VFS module:
# Uncomment next line.
#   vfs object = /usr/lib/samba/vfs/
Instead of "staff" you could have a group that has John and Alice as members. If you think about it a little bit and experiment a little bit you should soon have a samba.conf section that will create the share with the characteristics that you want.


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
Canīt see shared folders using Samba al2 Linux - Server 2 08-25-2007 12:52 PM
Samba shows shared folders in Windows but a Guest login pops up when trying to access ciphe Linux - Software 4 08-20-2007 11:55 AM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 06:14 AM
Samba not accessing my Windows Shared folders Felpipe Linux - Networking 3 08-04-2005 08:34 AM
using gui browser with samba turns up empty shared folders wlfdgcrkz Linux - Software 1 04-25-2003 01:56 AM > Forums > Linux Forums > Linux - Newbie

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