My smb.conf looks like this:
[public]
comment = Public Share
path = /share/public
public = yes
writeable = yes
directory mode = 777
create mode = 666
When directories get created, they are masked 777, and files are masked
666.
Hope that's what you're looking for.
On 12 Dec 2002, Neil Loffhagen wrote:
> Hi,
>
> Something is going wrong with the file permissions on our RH8 box
> running Samba. We have set up a share that is being accessed by windows
> 98 clients. When a client opens a file and changes it, it then becomes
> the owner and the file is then read only for everyone one else and these
> are files that need to be shared. I used the "chmon g+s directory"
> which I think is supposed to make it so that all files created in the
> directory maintain the same group membership. Which seems to be
> happening, as when I do an ls -ls it shows the right group membership,
> but still the file is becoming read only for everyone else. Is there
> some way of setting the directory to have the same write permissions for
> new files created as well as old ones modified? Or am I getting things
> confused?
>
> Have read the RH Reference Guide and thought I understood it, but must
> be missing something.
>
> Any pointers much appreciated.
>
> Thanks,
>
> Neil.
>
>
>
>
--
--------
Ben Brown
[EMAIL PROTECTED]
http://www.xthorsworld.com/
--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list