Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-05-2009, 04:38 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
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
Old 11-06-2009, 12:57 AM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
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.
Old 11-06-2009, 01:02 AM   #3
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
man chgrp, man chmod (see +s option), man setfacl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to access sysfs files in shared objects akshaynm87 Linux - Newbie 3 05-06-2009 04:44 AM
File server setup...what directory to store shared files glenn69 Linux - Server 1 07-08-2008 04:42 PM
Trying to access shared files on windows computer dwood108 Linux - Newbie 3 09-25-2007 11:22 AM
Cannot access shared XP files from my SuSE machine Hallowedpoint Linux - Networking 1 01-06-2006 08:52 AM
how to access windows shared files dagul_t Linux - Networking 4 07-07-2005 11:13 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:25 AM.

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