[Samba] subdirectory of home

Brian Wiese bwiese at cotse.com
Sat Mar 15 10:01:43 GMT 2003


On Fri, 14 Mar 2003 09:59:45 +0100
Mar <marisa at ugr.es> wrote:

|What I want is to share a subdirectory of home instead the home itself. 
|In this manner, when a user try connect to his home directory, he really 
|will connect with, by example, /home/user/subdir.
|
|I don't now if it's possible to do that in the [homes] section, or I 
|must create a new different section for every user.

See if adding this to your smb.conf would work...

|> ----------------------------------
|> [homes]
|> 	comment = Home Directories

	path = %H/subdir

|> 	read only = No
|> 	browseable = No

peace

  Brian Wiese | bwiese at cotse.com | aim: unolinuxguru
------------------------------------------------------
  GnuPG/PGP key 0x1E820A73 | "FREEDOM!" - Braveheart 
------------------------------------------------------  
This is not about Napster or DVDs. It's about your Freedom.
  I'll see your DMCA and raise you a First Amendment.
              http://www.anti-dmca.org


More information about the samba mailing list