LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Public directory for Samba? (https://www.linuxquestions.org/questions/linux-software-2/public-directory-for-samba-374665/)

walterbyrd 10-19-2005 09:49 AM

Public directory for Samba?
 
This is for a small home network. I am running debian 3.1 testing.

By default, Samba takes users to their /home/username directory. I would like to make a public directory available also. By that I mean a directory where anybody can read or write files.

Probably some minor changes in /etc/samba/smb.conf, but I don't know what.

pbounds 10-19-2005 11:23 AM

Add this section to your smb.conf file. 'xfiles' is the netbios share name and /xfiles is the directory or mounted filesystem you are sharing

[xfiles]
comment = xfiles
path = /xfiles
public = yes
writable = yes
create mode = 0777
directory mode = 0777
printable = no

walterbyrd 10-19-2005 01:59 PM

It works, thanks.


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