Keep file rights with samba share
Hi there,
I'm trying to set the file & directory rights in a users home directory permanently. The home directory is a Samba share and when users make changes to a file in Windows, the file rights are being changed. I don't want this to happen.
I've managed to get the group fixed but after changing the file in Windows, the file rights are changed to read-only for the group. If I could fix this, I would also be happy.
What I'm trying to accomplish here is setting up a (linux)user who's home directory is used to share documents between all other users. I did noticed that you can force Samba to set the rights to a specific user:group but then this would apply to all homes which not good.
Setting up a non-home directory as public share would probably be the easiest way but I would prefer using the home of an user.
Does anyone have an idea how I could do this?
Thanks,
Robbert
|