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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-20-2004, 05:56 AM
|
#1
|
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130
Rep:
|
file permission
in our system , there are three system administrator have the root password , sometimes they will delete the file that was created by other administrator , is it possible to set the permission to the specific file , so that the specific file can only deleted by the file creator not by the all root owner ? thx.
|
|
|
04-20-2004, 06:12 AM
|
#2
|
Member
Registered: May 2003
Posts: 46
Rep:
|
chmod 744 filename
|
|
|
04-20-2004, 06:14 AM
|
#3
|
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130
Original Poster
Rep:
|
thx reply , but 744 seems can be deleted by root user , am i right?
|
|
|
04-20-2004, 06:14 AM
|
#4
|
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032
Rep:
|
The operating system doesn't keep track of which person actually uses an account. To the system, the user with uid=0 is root, and if you log in as root you will have uid=0.
A better solution is to limit root access to one specific person and instead have other user accounts with elevated privileges. Either add the users to the groups they should belong to, or if that's not enough you may want to change group ownership of files and directories to a new group, created by yourself (the real root user) if the ownership is too general.
Håkan
|
|
|
All times are GMT -5. The time now is 10:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|