1825747 Members
2411 Online
109687 Solutions
New Discussion

Re: SAMBA access rights

 
mvr
Regular Advisor

SAMBA access rights

Hi,

I have setup Samba on a HP-UX11i. Everything is working fine except I'm having a problem with creating the files. When user creates file in a "department" directory (in this case the problem directory is named "war"), it creates the file "read only".
How do I need to set up directory permissions, so that members of the "war" group would have full access to the newly created files.
Attached is my smb.conf and a part of /etc/group
3 REPLIES 3
Marvin Strong
Honored Contributor

Re: SAMBA access rights

I believe you need to add

create mode = 0644 to your smb.conf under the directory settings.

example:
[homes]
writeable = yes
create mode = 0644

Marvin Strong
Honored Contributor

Re: SAMBA access rights

one more thought, you also might want to add

directory mode = 0755

Re: SAMBA access rights

Give this a try.

force create mode = 0770
force directory mode = 0770
force group = war