LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-24-2008, 11:44 AM   #1
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
Any hope for new file permission revolution in Linux


Linux/Unix'd use standard file permission which is rwx quite many years. However in corporate environment (especially file server) it no longer sufficient.

The implementation of POSIX ACL is better a bit, however it still able to control permission until Read, Write, Execute only.

Anybody think before file permission in Linux shall have revolution, which allow user do have more flexible permission configuration like:
read, modify, write, delete file, delete folder, traverse folder, list content

I not intend to start a war here, Ms. Windows, has NTFS permission features which is superior than any *nix environment.

I hope 1 day linux file permission can support same capablity like windows (I know it can become a really big impact on all *nix softwares)
 
Old 07-24-2008, 12:07 PM   #2
rocket357
Member
 
Registered: Mar 2007
Location: 127.0.0.1
Distribution: OpenBSD-CURRENT
Posts: 485
Blog Entries: 187

Rep: Reputation: 74
Quote:
Originally Posted by kstan View Post
Ms. Windows, has NTFS permission features which is superior than any *nix environment.
This is indeed true. MS Windows has a much more granular control of file permissions than simple rwx.

To counter, have you checked out any of the dozens of Linux security enhancements? (RSBAC, SELinux, grsecurity, etc...?)
 
Old 07-24-2008, 12:13 PM   #3
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by kstan View Post
read, modify, write, delete file, delete folder, traverse folder, list content
I see no difference between modify and delete...

If I can modify a file; I can open it. Clear EVERYTHING inside...and save it...I couldn't delete it...but it might as well be...

And If I can't delete the folder...but can delete the contents...then it might as well be good as gone...

-C
 
Old 07-24-2008, 12:15 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You could probably get a lot of this functionality if you used AFS. It has better and granular control over files/directories, etc.
 
Old 07-24-2008, 02:04 PM   #5
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by trickykid View Post
You could probably get a lot of this functionality if you used AFS. It has better and granular control over files/directories, etc.
Thanks, seems like AFS is the real answer for this topic. Below is some text I get from manual:
Quote:
File and Directory Protection

AFS does not rely on the mode bit protections of a standard UNIX system (though its protection system does interact with these mode bits). Instead, AFS uses an access control list (ACL) to control access to each directory and its contents. The following list summarizes the differences between the two methods:
  • UNIX mode bits specify three types of access permissions: r (read), w (write), and x (execute). An AFS ACL uses seven types of permissions: r (read), l (lookup), i (insert), d (delete), w (write), k (lock), and a (administer). For more information, see The AFS ACL Permissions and How AFS Uses the UNIX Mode Bits.
  • The three sets of mode bits on each UNIX file or directory enable you to grant permissions to three users or groups of users: the file or directory's owner, the group that owns the file or directory, and all other users. An ACL can accommodate up to about 20 entries, each of which extends certain permissions to a user or group. Unlike standard UNIX, a user can belong to an unlimited number of groups, and groups can be defined by both users and system administrators. See Using Groups.
  • UNIX mode bits are set individually on each file and directory. An ACL applies to all of the files in a directory. While at first glance the AFS method possibly seems less precise, in actuality (given a proper directory structure) there are no major disadvantages to directory-level protections and they are easier to establish and maintain.

However, is it applicable for centralize authentication (via ldap/active directory)?
 
Old 07-24-2008, 02:11 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by kstan View Post
However, is it applicable for centralize authentication (via ldap/active directory)?
Should be, it's technically already setup for centralized type authentications with PAM/Kerberos, etc. I've never used it to authenticate against OpenLDAP or AD but probably doable, I'm sure someones done it before.
 
Old 07-25-2008, 01:16 AM   #7
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Original Poster
Rep: Reputation: 31
thanks. its help.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file permission java deployment linux mtdew3q Linux - General 7 07-05-2008 01:04 PM
BASH (Linux) - View file permission linux_linux Linux - Software 4 03-15-2008 09:42 PM
linux changing file permission a_vall Linux - General 5 04-15-2006 08:48 AM
How exactly does Linux file permission inheritance work HGeneAnthony Linux - Newbie 5 04-14-2006 10:20 AM
Linux File permission & the sticky bit hq4ever Linux - Newbie 8 07-02-2004 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:54 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
Open Source Consulting | Domain Registration