We have just installed a Linux file-server to replace a WinNT server. In Windows NT we had a directory structure with folders for home users and public folders for some important files. Every user has the only right to read/write his/her home folder and read the public folders. And the adminstrator has the right to access ALL folders in the system. But also you have the ability to give access to other users to a file or folder.
For example: User1, User2, User3, Administrator
-User1 has a folder called Folder1
-User2 has a folder called Folder2
-User3 has a folder called Folder3
-The system has 1 public folder called Public
-User1 can access Folder1 and Public
-User2 can access Folder2 and Public
-User3 can access Folder3 ans Public
-User1 cannot access Folder2 nor Folder3
-User2 cannot access Folder1 nor Folder3
-User3 cannot access Folder1 nof Folder2
-The User2 give User1 the privilege to read/write Folder2
-Now, User1 can read/write Folder2
-Administrator give User3 the ability of full access to all folders
-Now, User3 can access ALL folders in the system.
(Let's say that User3 is an Administrator also)
How can I do this in Linux? Because I can do all the directory structure but just the root can access all the folders and I need the ability to grant access to specific users to write in Public folders, the other users to read and to have some users that can access read/write ALL folders. Like in WINNT.
I'm using the lastest version of SAMBA and LINUX 7.0