LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-30-2004, 04:45 PM   #1
d_kilshtein
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?


Thanks,
Daniel.
 
Old 10-31-2004, 06:55 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

[homes]
comment = Home Directories
browseable = yes
writable = yes

[export]
comment = Public file space
path = /export
write list = root
public = yes
 
Old 10-31-2004, 07:11 AM   #3
d_kilshtein
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.


Daniel
 
  


Reply


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 03:09 PM
Moving certain files recursively preservice folder structure DigiTalk Linux - Newbie 11 09-08-2005 09:04 AM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 06:23 PM
rearrange folder structure using mp3 tags roemisch Linux - Software 1 04-18-2005 11: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 03:26 AM


All times are GMT -5. The time now is 04:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration