[Samba] Permissions problem - I am in the proper group but still
can't create files
Ryan Stille
ryan at cfwebtools.com
Wed Jan 28 19:03:50 GMT 2009
Kyle Rabe wrote:
> On Wed, Jan 28, 2009 at 1:18 PM, Ryan Stille <ryan at cfwebtools.com> wrote:
>
>
>> [websites]
>> comment = /home/WWW-data
>> path = /home/WWW-data
>> read only = no
>> valid users = rps administrator
>> create mask = 0664
>> directory mask = 0775
>> force user = administrator
>> force group = nobody
>>
>
>
> It looks like you're forcing Samba to use the "administrator" user and
> "nobody" group when a valid login is presented and this share is accessed.
> Since the "nobody" group does not have write permissions on your share, your
> authenticated user does not have write permissions. Try changing "force
> group" from "nobody" to "users" or simply removing the line (which might or
> might not work - I'm not sure).
>
> -Kyle
>
Thank you, that did fix the problem. However I was forcing the group
"nobody" because I need files that are created through the samba share
to be editable by the web server.
Would you suggest just adding "nobody" to the "users" group?
I'm not sure why this worked on my other web servers...
-Ryan
More information about the samba
mailing list