Force read/write permissions (777) on SMB mounts

Robert Leong -

SpycerBox Ultra (or MDS) with StorNext volume, the volume is Samba shared out.

Make the following changes on the SBU.

There are two steps,
1) Apply just the smb.conf changes below gets us this:

Windows SMB mount the SBU volume, created folders/files = 0777 (good).

Mac SMB mount, folder created is 755 (not good), file is 777 (good).

Linux SMB mount not yet tested.

2) Apply the umask 000 (default of umask is 022) gets this:
(need to figure out how to make this boot defaulted)

Windows SMB mount, created folders/files - 0777 (still good).

Mac SMB mount, folder created is 777 (now good), file is 777 (still good).

Linux SMB mount not yet tested.

smb.conf changes:

In /etc/samba/smb.conf add the 0777 entires.

comment = spycer-vol0
path = /media/spycer-vol0
writeable = yes
; browseable = yes
guest ok = yes
create mask = 0777
force create mode = 0777
directory mask = 0777
force directory mode = 0777


Have more questions? Submit a request


Please sign in to leave a comment.