I have a CentOS 6.5 server with a share that is and should be accessable for and from everyone. All content placed on that share should be accessable by everyone. So I created a share with this parameters in smb.conf file:
[global]
security = share
[VODSTOR]
comment = VOD Storage Array
path = /storage/internal
browseable = yes
force user = nobody
force group = nobody
writable = yes
create mask = 0666
directory mask = 0777
public = yes
As far as I know, this should give everyone that access this share the ability to create files and folders. Folders with drwxrwxrwx rights, and files, -rw-rw-rw rights, right? this seems to work from a windows perspective... folders created there have the drwxrwxrwx permission bits. and files seems to be readable by all. But when I mount this folder on a Debian Linux machine folders are created with drwxr-xr-x, That I think is weird..
On the debian machinie I mount it via fstab with: \ \mnt\path\ cifs rw,user=nobody,pass=nobody 0 0
What is wrong there...? Can't seem to find useful info on the web so far.