whats the use of this [Samba] create mask = 0777
wht means mask ?
So I have samba setup and running on my Ubuntu box. I've successfully logged in on my WinXP machine, and was able to browse my home directories but an unable to create files, folders, etc. No write access.
In my samba config, I have set the this line read only = no, thus granting access to write to my home directories.
For a project I'm on, I have a git repository cloned into a samba share. All of the files are owned by my smb username account. I need to be able to read and write to the files on my windows machine. The files need to have unix permission 644. I can only access them from my windows machine if I set the permission to 755. The account parker is a member of the www group.
I have a ubuntu server sharing some folders using samba. When a client creates a new folder or file, the permissions aren't set according to the settings in smb.conf.
How can I create folder on samba with windows pc.
What I need to add here (smb.conf)
Quote:
[TV Shows]
comment = TV Shows
path = /media/sdb2
browsable = yes
guest ok = yes
read only = no
create mask = 0755
Have user1 and user2.
Hey guys.
I'am trying to create a samba share for a few users.
The share is as follows
Code:
[video1]
comment = 2.5_Video1_share
path = /srv/content/2.5/video1
read only = yes
create mask = 0700
directory mask = 0700
valid users = %S
[homes] are commented out since it's only the video1 i want to share.
But when i try and mount the share with
I have a fileserver running openSUSE 11.2 and samba services for file access from MS Windows based workstations. My question relates to changing default permissions on files and directories created from the windows clients.
Following are extracts of the /etc/samba/smb.conf file :
[myshare]
create mask = 0770
directory mask = 0770
I am setting up a linux to act as a fileserver, using CentOS 6.3.
Since I want to have disk quotas and can't install LVM (it is a 32 bit machine), I am using an LVM volume with ext4 mounted as /samba/seg
I have created /samba/seg, assigned a domain group, changed FS permissions to 770, executed:
semanage fcontext -a -t samba_share_t /samba/seg
restorecon -R -v /samba/seg
My config (from test