Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-30-2004, 03:45 PM   #1
LQ Newbie
Registered: Sep 2004
Location: Israel
Posts: 17

Rep: Reputation: 0
ahred folder structure

Hi everybody!!

I have tried every possible samba configuration and still I cannot this thing to work.
I want that all users (that exist on the server) will be able to brows the /export directory but will be able to write only in their directory. Users that not exist on the server will not be able to access the server at all.

Server - Slackware 9.1
Clients -Windows XP

Like the drawing:

/export root - read/write (all subdirectories)
| user1 , user2 read only (all subdirectories)
|___ user1 user1- read/write (this directory only)
| user2 read only
|___ user2 user2- read/write (this directory only)
user1 read only

What attributes should I give to the /export directory?
What attributes should I give to the /export/userXXX directory under /export?
What will I write in my smb.conf file?

Old 10-31-2004, 05:55 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You should be able to use:

comment = Home Directories
browseable = yes
writable = yes

comment = Public file space
path = /export
write list = root
public = yes
Old 10-31-2004, 06:11 AM   #3
LQ Newbie
Registered: Sep 2004
Location: Israel
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks, but this way I see all shared directories.
My intention was that the client will see only one directory and when he enters it he will see all directories and will be able to browse them (read only)
The only directory he will be able to write will be the directory with his name.



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
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
Moving certain files recursively preservice folder structure DigiTalk Linux - Newbie 11 09-08-2005 08:04 AM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
rearrange folder structure using mp3 tags roemisch Linux - Software 1 04-18-2005 10:15 AM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM > Forums > Linux Forums > Linux - Networking

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