LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-07-2005, 11:22 AM   #16
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30

Quote:
Originally posted by lazyboy0001
I just noticed another quite interesting thing. Suppose I am userA. In my home directory, there are two files not belong to me, one is to root with permission -rw-r--r-- and the other one belongs to userB with permission -rw-r--r--. I can delete the one owned by root but can't delete the one owned by uerB with the error "Permission denied". Does that mean normal user's file is better protected thatn root? I can't believe it.
Well you got me there. I can't reproduce that behaviour on my box.
 
Old 04-07-2005, 03:19 PM   #17
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
For lack of pointing out the obvious I would venture to say that you are having some serious permissions issues. I would start by looking at the owners and groups of all the folders to ensure they belong to who they are supposed to. I created a "test" user and did not add them toany special groups, just users. The onwer of the folder /home/test is test and the group is users. Furthermore, I created a test2 user and assigned them to the root user group now their folder is owned by test2 and the group is root. Likewise, with the user test, I added them to the user group root and it did not change the permissions on their folder, this had to be done manually.... you are definately having some interesting problems.
 
Old 04-08-2005, 10:53 PM   #18
lazyboy0001
Member
 
Registered: Mar 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by subekk0
For lack of pointing out the obvious I would venture to say that you are having some serious permissions issues. I would start by looking at the owners and groups of all the folders to ensure they belong to who they are supposed to. I created a "test" user and did not add them toany special groups, just users. The onwer of the folder /home/test is test and the group is users. Furthermore, I created a test2 user and assigned them to the root user group now their folder is owned by test2 and the group is root. Likewise, with the user test, I added them to the user group root and it did not change the permissions on their folder, this had to be done manually.... you are definately having some interesting problems.
I checked my /etc/group, there is no other goup associated with the user. Of course, the user is not a member of root at all. You know what, I have another computer with CentOS4 running on it and it has the same problem. For the CentOS4 computer, one user belongs to one group only. The normal user can delete root's file located in normal user's home as well.
 
  


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 with Slack 10.1 Lintux Slackware 17 02-11-2005 09:05 AM
Slack problem... TCasp77 Linux - Networking 1 02-27-2004 07:13 PM
Slack problem Coldhg Slackware 6 10-27-2003 03:51 PM
SBLive problem in Slack 8.1 Flat_Tire_ Slackware 12 03-07-2003 11:22 PM
Slack 8.1 problem DigitalKhaos Linux - Newbie 3 02-09-2003 02:58 AM


All times are GMT -5. The time now is 05:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration