LinuxQuestions.org
Help answer threads with 0 replies.
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 01-03-2015, 03:04 AM   #1
Avinash Devineni
LQ Newbie
 
Registered: Nov 2014
Location: Andhra Pradesh
Distribution: rhel 6
Posts: 5

Rep: Reputation: Disabled
Need Answer on ACl Permissions?


Hello....My name is avinsh.
I am new to linux.
i have a doubt.
please clarify my doubt.
i given r,x permission to one user tom.
and
i given r,w,x permission to sales group.
after that
i added tom user to sales group.
so
user tom have which permissions?
if he had r,w,x...why?
and if had r,x....why?

if my question is wrong please forgive me.
and sorry for my bad english.

thankyou in advance.
 
Old 01-03-2015, 03:36 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
If you are running linux, why not try it yourself and see what happens? You can use the adduser command. If you're not sure how to use adduser then just type
Code:
man adduser
in a terminal. This way you'll learn much more.
jdk
 
1 members found this post helpful.
Old 01-03-2015, 03:52 AM   #3
vincix
Member
 
Registered: Feb 2011
Distribution: Centos 6.7, 7
Posts: 656

Rep: Reputation: 57
Quote:
Originally Posted by Avinash Devineni View Post
user tom have which permissions?
if he had r,w,x...why?
and if had r,x....why?
thankyou in advance.
I won't say more than jdkaye, because I agree with him that you need to try it out for yourself. That's how I've done it and it was the best way. But am going to tell you that when you add a user to a group you need to log in again with that user in order for the changes to take effect. Otherwise, the user will only have the previous permissions on that file/directory (file /etc/group needs to be read on each login).
 
1 members found this post helpful.
Old 01-03-2015, 07:45 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
If you do web search for linux acl permissions, you would be able read the basic understanding of acls. Otherwise you have to do trial and error.
 
1 members found this post helpful.
Old 01-04-2015, 01:40 AM   #5
Avinash Devineni
LQ Newbie
 
Registered: Nov 2014
Location: Andhra Pradesh
Distribution: rhel 6
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thankyou all..i tried my self on linux vm. i got the answer.
 
  


Reply

Tags
acl, linux, permissions, read, write


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
ACL permissions on subdirectory Gerard Lally Linux - Newbie 5 03-19-2012 05:59 PM
acl permissions problem ramesh14 Linux - Software 5 03-12-2010 06:31 AM
permissions and acl zhjim Linux - Newbie 2 11-18-2009 07:02 AM
Where are ACL permissions saved? armandino Linux - Security 6 07-05-2007 11:46 PM
acl permissions linuxtesting2 Linux - General 0 10-25-2004 02:18 PM


All times are GMT -5. The time now is 01:21 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