LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   shared files with limited access setup? (https://www.linuxquestions.org/questions/linux-newbie-8/shared-files-with-limited-access-setup-767006/)

linuxnewber 11-05-2009 03:38 AM

shared files with limited access setup?
 
i have an assignment where i must create users and four files with different permissions for different users

My big question is where do i put the files so that all the users can at least see them, and some can do more. I am new to linux and basically lost on how to structure this.

My idea is to have one folder they all can get to, then have for subdirectories with the different file types in them, but how???

here is the assignment

1. Using the following matrix
a. create and secure these four files - u.doc, c.doc, s.doc, ts.doc
b. log all access to all files
c. alerts on violations as necessary

2. The following users are in these groups:
a. Worker {wendy, walter}
b. Planner {pat, phil}
c. Operator {olivia, olga}

u.doc- everyone can read write and delete

c.doc- workers can read only, planners and operators can read and edit only

s.doc- worker cant do anything, planner can read, but read expires, and operator can edit and read

ts.doc- worker and planner cant do anything, operator can read only and read expires


Thanks for any help

kbp 11-05-2009 11:57 PM

I thought the point of an assignment was for you to learn - can you tell us what you have tried so far ? .. what didn't work ? etc .. you need to at least make an attempt.

chrism01 11-06-2009 12:02 AM

man chgrp, man chmod (see +s option), man setfacl
http://linux.die.net/man/


All times are GMT -5. The time now is 06:28 PM.