How to create full right permission on Samba share
Posted by Planet Malaysia on October 17, 2008
Samba is an Open Source/Free Software suite that has, since 1992, provided file and print services to all manner of SMB/CIFS clients, including the numerous versions of Microsoft Windows operating systems. Samba is freely available under the GNU General Public License.
Samba comes with different types of permissions for share and for some reason you may require creating new files and directory with full right permission 777.
The example show as below will guide you how to configure Samba share drive with 777 full right permission for any new files or folders created in /data/shared(example)?
comment = SHARED data
path = /data/shared
valid users = user1, user2, planetmy
writeable = yes
create mask = 0777
force create mode = 0777
directory mask = 777
max connections = 10
veto files = .??*/.ssh/.profile/.mailrc
In this case, the most important Samba setting are:
create mask = when a new file created, the necessary UNIX mode permissions are created and the default create mask = 0744
directory mask = when a new directory created, the necessary UNIX mode permissions are created and the default create mask = 0755
valid users = a list of users that should be allowed to login to this service.
max connections = number of simultaneous connections to a service to be limited
veto files = a list of files and directories that are neither visible nor accessible
writeable = this parameter is a synonym for writeable
Enjoy 777 permission for any new file or directory create in /data/shared folder!
Possibly Related Posts:
- How to add Dell PERC Drivers into VMware Converter Cold Clone ISO
- Top 10 Free Anti Virus
- Microsoft SQL 2008 Agent not starts
- VMware Workstation 7 Serial Key
- WP Contact Form III – You do not have sufficient permissions to access this page Error