Hi all,
I've setup a samba server which will hold a small access DB.
I've setup the directory rights as follows:
chown -R nobody:users directory/
chmod 2770 directory
Both users can touch a file and they get:
su - user1
touch test
Test correctly has user "user1" & "users"
Thats grand.
su - user2
touch test2
Shows me "user2" & "users"
So grand aswell.
However, access only allows DB modification from one user or the other ->
depending on who owns what.
So my question is, what rights should I give to the db files?
Should I also set rights in samba?
Should I do:
chown nobody:users directory/* -R
I would normally just test this, but I cannot without interrupting
production.
Regards
Conor.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!