LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-05-2009, 03:38 AM   #1
linuxnewber
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-05-2009, 11:57 PM   #2
kbp
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, 12:02 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,371

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


Reply


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


All times are GMT -5. The time now is 08:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration