[Samba] Unable to create new files in share
Doug Campbell
doug at bpta.net
Tue Apr 19 03:47:59 GMT 2005
> I have a share with the following share definition:
>
> [HR_PR]
> path = /data/samba/shares/HR_PR
> valid users = @hr @acct_admin
> browseable = yes
> public = no
> guest ok = no
> force group = hr
> inherit acls = yes
> create mode = 770
>
> The UNIX permissions on the directory are as follows:
> drwxrwx--- 2 root hr 4096 Apr 18 09:47 /data/samba/shares/HR_PR
>
> When I 'su' to my user on the server, I can 'touch' new files just fine.
>
> However when she tries to create a new file, she gets the
> following error:
>
> Also when she tries to modify any file, she gets access denied.
> Every file in
> the directory has mod 770 with owner being root and hr being the group.
>
> There are no ACLs defined for this share.
I believe you need to add
read only = no
The default value according to the man page is yes which would keep you from
creating or modifying files in the share.
Doug
More information about the samba
mailing list