LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-15-2005, 07:20 AM   #1
anand_kt
Member
 
Registered: Dec 2004
Location: Chennai, India
Distribution: Red Hat, Knoppix
Posts: 86

Rep: Reputation: 15
File System / Permission Issue


I have a question...

I have a about 10 folders to which i want to grant/deny access to several users. I know I can do this using group permissions. But I have a constraint which prevents me from using groups in this setup...

So, is there a way how I can assign/unassign permissions based on USERS only. like how we do it in Windows World by using the Security tab and adding users to which we need to grant/deny permissions...
 
Old 09-15-2005, 07:32 AM   #2
pddm
Member
 
Registered: Sep 2005
Distribution: Mint 19.2
Posts: 112

Rep: Reputation: 15
you could chmod the folder so that others but the owner and the group can access the files.
 
Old 09-15-2005, 09:25 AM   #3
anand_kt
Member
 
Registered: Dec 2004
Location: Chennai, India
Distribution: Red Hat, Knoppix
Posts: 86

Original Poster
Rep: Reputation: 15
thanks for the reply.
but i have 100 users who need diff access rights to ONE FOLDER, so just USER RIGHTS and GROUPS RIGHTS will not help.
 
Old 09-15-2005, 09:28 AM   #4
anand_kt
Member
 
Registered: Dec 2004
Location: Chennai, India
Distribution: Red Hat, Knoppix
Posts: 86

Original Poster
Rep: Reputation: 15
Ok, i got something interesting here...

Linux Server with NFS v3 will grant/deny access rights to NFS clients based on the AUX GID's of the user.

But, a Solaris NFS v3 server takes in to consideration only the PRI GID on the user and ignores whatever rights he has been granted/denied based on his AUX GIDs

any idea on how to correct this?
 
Old 09-15-2005, 09:50 AM   #5
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
I think what you need is ACL, which is supported as an option by most filesystems, provided your kernel was compiled with the appropriate modules enabled.

However, my experience tells me that permissions like this quickly become an unmanageable mess, and actually most administrators are even too lazy to correctly handle unix-type (so much simpler) rights.

Yves.
 
Old 09-15-2005, 01:11 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
There are a few useful cases for ACLs, and this may well be one of them.
 
  


Reply



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
vsftpd and file system security issue yrfonfria Linux - Security 2 10-19-2005 02:20 PM
azureus possible permission issue true_atlantis Linux - Software 1 08-28-2005 03:58 AM
script execution - file/directory permission issue serksimper Linux - Enterprise 1 08-10-2005 03:01 PM
File system permission problem after FC4 install BBQ_Matt Red Hat 5 06-26-2005 01:13 AM
issue with permission santasballz Linux - Newbie 7 02-28-2004 11:25 AM

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

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