[Samba] force user and read only

Dennis B. Hopp dhopp at coreps.com
Fri Oct 24 15:00:36 GMT 2008

On Fri, 2008-10-24 at 08:45 +0200, Urs Golla wrote:
> Hi
> I need a share with read-only access for some developers (to read
> logfiles). the logfiles are owned by the application user and group
> and have 700 permissions. I have set up the share like this:
>         path = /applicationx/logs
>         read only = Yes
>         valid users =  "MYDOMAIN+DEVELOPER1"
>         force user = applicationx

You shouldn't need the "force user" setting if this is read only.  That
setting is so that samba will force that user to be the owner of any
files written to the share.

If you want it to be read only, the only thing you should have to set is
"read only = yes".


More information about the samba mailing list