LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2005, 06:39 AM   #1
steve007
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3
Posts: 96

Rep: Reputation: 15
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
 
Old 06-30-2005, 05:07 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
permission ... permissions .... permissions alaios Linux - General 1 05-31-2005 04:16 AM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 12:52 PM
permissions JROCK1980 Linux - Software 6 04-09-2004 04:03 AM
need help with permissions hbbtstar Linux - Newbie 4 10-13-2003 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration