LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-338680/)

steve007 06-30-2005 06:39 AM

Permissions
 
Hello,
I’m a newbie to linux and am using fedora core 3. Could anyone tell me how I assign permissions to a folder and all the files in it… I have several groups, more than double that in users (and they are part of certain groups) and I have a range of folders. This is what I’m after;

My list of folders are:
Main dir – ICT
Main dir – marketing
Main dir – management
Main dir – administration – ICT

I want to be able to allow all users (in the users group) to see the contents of the main directory but not delete anything or add anything. I need all users in the ICT group to view and edit all the contents in the Main dir – ICT folder, all users in the marketing group to see and edit the contents of the marketing folder. All users in the ICT group to view the contents of the management folder but not edit them but all the users in the management group to be able to view and edit the contents. All users in the administration group to edit and view contents in the administration folder, but not able to delete the ICT folder, ICT users can view data in administration folder but can edit the contents in the Main dir- administration – ICT folder.

I think I have covered every possible scenario I’m after for this. I apologise if it sounds a bit confusing the way I’ve typed it, if you need further information please ask. I am fairly comfortable with typing command lines in terminal window or using the GUI for anyone who replies in either of these methods.

Also while I’m here – I have my fedora core system as a PDC and I have joined a few clients to the domain, if I log in as anyone (even root) on a client machine, I cannot seem to edit the permissions on the folders shared on linux from the client machine (win xp and 2000) why is this? Even though I could be logged in as root on the client machine, I still cant edit the permissions? I was trying to edit the permissions in a way that I am used to – since I am new to doing it all through linux.

Thank you very much for any help you can provide me.

Steve

bigrigdriver 06-30-2005 05:07 PM

In re how to access the Linux server from a win client, you will probably have to set up Samba to enable communication between the machines. I don't know enough about that to be of much help.

In re the different folders, with different groups, and different permissions, you will have to enable and setup ACL (access control lists), which extend the basic user/group permissions so that different groups (and members of those groups) have different permissions.

www.google.com/linux is your friend. You will have to do some literature research in order to refine your questions. This is about the best help I can offer.


All times are GMT -5. The time now is 02:07 PM.