LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Access rights for a samba share

[ILUG] Access rights for a samba share

Conor Wynne weeboy at conorwynne.com
Tue Apr 26 10:47:58 IST 2005


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.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell