Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2011
wrong file permissions on my Samba server
The problem I am fighting with is a problem with my file- permissions.
There are two users and one group these users belong to.
Sometimes one of the two users is writing data to my networkdrive and sets the permissions for himself only.
So i have to use chmod -R 770 to make it group-usable again :/
Most of the time there is no problem.
The users owning the main folder are flopc and flontb. The group is called losrootos.
After creating the folders I used chown -R root:losrootos and chmod -R 770.
The two clients accessing the Fileserver are both windows7 machines (if that should be of concern)
The most weird thing happened yesterday. I used windows 7 System backup to create an image. Since it took
a long time i canceled it. When trying to delete i get the message "you need the file permissions from flontb"
And guess what ? Yes, the user logged on (the one creating the image) is: flontb...
I already posted the question in a german forum tellin me i shall take a look at the FAQ of the Samba team
- which i did. I also do not assume a well known book should have a trouble making tutorial.
I hope you can have some use of the testparm- output and the smb.conf i attached below.
workroup = Skynet2
security = user
encrypt passwords = true
# you may want to add the following on a linux system for speedup
# SO_RCVBUF=8192 SO_SNDBUF=8192
# socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
comment= los Filmos, Musikos, Pron0s
read only = no
guest ok = no
create mask= 0770
directory mask= 0770
comment = los Filmos, Musikos
path = /home/shares/losrootos
read only = No
create mask = 0770
directory mask = 0770