Help answer threads with 0 replies.
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 10-07-2008, 02:31 PM   #1
LQ Newbie
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
Cannot understand to limit/enable certain group access to folders/files.

Hello, as you can see I'm new.

I've check various sites and the man pages as well and I'm still having an issue. I've also asked my professor at school and all she has told me was to make my computer help me?? This is for an assignment I have to do.

Certain groups have access to certain folders/files, while others have limited or no access at all.


Two members are members of the ABB group, and their usernames are ABB1 and ABB2. There are multiple groups and 2 users for each group.

Members of the ABB group have a folder in which all their files go in, but members of the RTT group are also allowed full access to those files, and members of group UDD are only allowed Read access to those files.

I'm not to sure on how to go about that. Linux is very confusing to me because my teacher just expects us to know everything, and it's only a second semester 1st year course.

Any help would be greatly appreciated!
Old 10-07-2008, 03:09 PM   #2
Registered: Nov 2004
Distribution: Slackware
Posts: 73

Rep: Reputation: 15
The important thing to remember is that file permissions are read/write/execute for owner,group,everyone.

So if a file by the name of mymidgetporn.avi has permissions of rwxr-x---

and its ownership is Myusername Users

This means that the owner is Myusername and the group ownership is Users

Let's break the permissions down now. The above can be broken into 3 sections:
Owner: rwx
Group: r-x
Everyone: ---

That would mean that the user Myusername can read, write, an execute the file.

The second set is "r-x" indicates that the group "Users" can read and execute the file, but cannot write to it, overwrite it, or delete it.

And finally, nobody outside the group can read, execute, or write to this file. set file permissions, do some reading on the chmod command.

Hope this helps.
Old 10-07-2008, 03:30 PM   #3
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Asking for help with schoolwork isn't allowed.
Old 10-07-2008, 06:35 PM   #4
Registered: Oct 2005
Distribution: Ubuntu 12.04 X86_64
Posts: 960

Rep: Reputation: 35
try man chmod
man chgrp
man chown

this is probabbly what your teacher meant by make the computer help you
Old 10-07-2008, 07:46 PM   #5
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,682

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Actually, asking for help/pointers IS allowed, as long as the poster shows they've made an effort. What we don't do is just hand out solutions...


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
Owner 99 Group 99 files & folders adnanm Linux - Newbie 1 05-26-2008 12:02 PM
Group Permissions and Ownership of files and folders bugeyemonster Linux - General 1 04-19-2006 02:52 AM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 07:14 AM
User and Group Access to Folders nutthick Linux - Security 5 12-19-2004 08:22 PM
group access for specic folders in samba fidelis Linux - Networking 0 09-20-2004 04:20 AM > Forums > Linux Forums > Linux - Newbie

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

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