Share your knowledge at the LQ Wiki.
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 03-10-2009, 04:30 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
error with multiple shared folders


I installed
sudo apt-get install samba
sudo apt-get install system-config-samba
and then add to the end of the section smb.conf Global Settings usershare owner only = false.

the Authentication info as below
security = user
username map = /etc/samba/smbusers
sudo pico /etc/samba/smbusers
<username> = "<username>"
and here is my Share Definitions
comment = Home Directories
; writeable = No
browseable = no

valid users = %S

comment = Documents
path = /home/james/Documents
writeable = yes
; browseable = yes
valid users = james
With the above configuration I can access the Ubuntu and see the Documents directory of my /home/james/Documents plus the james directory which is my home dir on ubuntu /home/james. My questions are:
1. how to hide the home directory
2. when I add another shared directory such as Documents of mike when I login with my user james it goes to mike documents although the smb.conf appear like this

comment = Documents
path = /home/james/Documents
writeable = yes
; browseable = yes
valid users = james

comment = Documents
path = /home/james/Documents
writeable = yes
; browseable = yes
valid users = james
instead of Documents section for each user (James and Mike)

Please note that when mike login he can able to see my home directory and me also when I login I can able to see his home

Any help please?



samba, sharing, ubuntu

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
copying multiple files in multiple folders ?? stratotak Linux - Newbie 2 02-21-2009 09:41 AM
Can't See Shared Folders Harpo Linux - Networking 2 09-03-2007 11:19 AM
Shared Folders dudeman41465 Linux - Software 3 10-10-2005 03:12 AM
Shared Folders dudeman41465 Linux - Security 1 06-28-2005 06:38 PM
Shared Folders dudeman41465 Linux - Networking 2 06-27-2005 02:29 PM > Forums > Linux Forums > Linux - Software

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