LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-08-2007, 05:48 PM   #1
mpramodkaushik
LQ Newbie
 
Registered: Mar 2007
Location: India
Distribution: Fedora, Debian
Posts: 6

Rep: Reputation: 0
File perms for specific users


Hi,
Is there a way to set the file/folder permissions to "read/execute"
only for a few specific users(say 3 users)? Please note that the
system administrator(root) is not involved here.

Thanks in advance
Pramod
 
Old 04-08-2007, 06:16 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You can add the 3 users to a new "group" that only contains them. Then set the permissions for the group.

man groupadd

man chmod

If you need more finite control you can use ACLs (Access Control Lists). Have a look at:

man setfacl
 
  


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
Problem in console.perms file mayankh Linux - Security 1 02-26-2007 11:58 PM
Advanced 'find' against specific groups and perms RaelOM Programming 6 10-13-2006 07:02 AM
Only specific users allowd to SU? keysorsoze Linux - Security 4 04-26-2006 12:10 PM
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 05:22 PM
ip masquerading specific users FiveFlat Linux - Security 7 08-10-2004 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:56 PM.

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
Open Source Consulting | Domain Registration