Samba simple question

Thomas Heiligenmann thomas.heiligenmann at
Thu May 11 18:37:39 GMT 2000

Vasileios Zografos wrote:
> ok ok I have set up a public directory under /home/public on a linux machine
> configured as a Samba Server.
> The configuration of the /etc/smb.conf file is like this:
>        [public]
>              comment = Public directory
>              path = /home/public
>              browseable = Yes
>              writeable = Yes
> I can see the directory from a w98 client and can open/run the files. But I
> do not have write access to them.
> What's wrong???

Missing some permissions on *NIX side I guess. Try

# chmod 0777 /home/public
# chmod 0666 /home/public/*

and add the lines

create mode = 0666
directory mode = 0777

to your [public] section in smb.conf
This should give r/w permission to *all* users and create new files/dirs
the appropriate permissions.

Good luck,

More information about the samba mailing list