Author Topic: [SOLVED] Can see root in guest account??  (Read 839 times)

Offline timeth

  • Hero Member
  • *****
  • Posts: 829
  • G'day mate-Link for big GIF^ http://db.tt/SUIL4CtK
[SOLVED] Can see root in guest account??
« on: December 14, 2011, 04:13:09 AM »
Hi folks,

I think I've done something strange with my latest install. (KDE)

Installed everything as I normally do, partitioned the hard drive and put the install on /  partition (ReiserFS) and made a separate /home partition (ext4). When I log into the user account and open Dolphin, I see the usual folders in places on the left side > Home, Network, Trash and I also see Root?? but not File system. Clicking on the Root folder shows all the normal folders you'd see in File System but there's also all the Root home folders > Desktop, Documents, Downloads, Music, Pictures etc...   I can see all of these when I'm logged into the user account.

I hope this is enough info. Can anyone understand what I've done wrong there?
« Last Edit: December 14, 2011, 09:18:12 PM by timeth »
宜しくお願いします > Yoroshiku Onegaishimasu > I humbly and respectfully ask for your kindness.  |   My graphics blog

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Can see root in guest account??
« Reply #1 on: December 14, 2011, 04:51:23 AM »
It seems that your /root went to / ... so it seems.

Try this. Open PCC > System Manage users on system.

Options > Uncheck Filter system users.

You should see a list under User Name, highlight root, right-click > Edit.

Check Home to see if it is /root. I am guessing it is just /

HTH


Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline timeth

  • Hero Member
  • *****
  • Posts: 829
  • G'day mate-Link for big GIF^ http://db.tt/SUIL4CtK
Re: Can see root in guest account??
« Reply #2 on: December 14, 2011, 05:28:44 AM »
Thanks Archie.

I did as you suggested.

Home says    /root

 ???
宜しくお願いします > Yoroshiku Onegaishimasu > I humbly and respectfully ask for your kindness.  |   My graphics blog

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6386
  • I'm going South
Re: Can see root in guest account??
« Reply #3 on: December 14, 2011, 07:12:45 AM »
It happened to me some time last year that /root and its subfolders after a new install got the permissions 755 instead of 750. I haven't reinstalled the 32 bit version since then, so I don't know if this has been fixed in newer isos. In my 64 bit test install /root by default got the more normal permissions 750.

But if you start Konqueror or Dolphin in Super User mode, the permissions are easy to correct. You don't even have to do it from the CLI.

« Last Edit: December 14, 2011, 07:17:21 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline timeth

  • Hero Member
  • *****
  • Posts: 829
  • G'day mate-Link for big GIF^ http://db.tt/SUIL4CtK
Re: Can see root in guest account??
« Reply #4 on: December 14, 2011, 07:16:00 AM »
Thanks Bald Brick.

Just so I've got this straight, I should change the permissions of the  /root folder to 750? Only that folder?
宜しくお願いします > Yoroshiku Onegaishimasu > I humbly and respectfully ask for your kindness.  |   My graphics blog

Offline Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6386
  • I'm going South
Re: Can see root in guest account??
« Reply #5 on: December 14, 2011, 07:20:59 AM »
Thanks Bald Brick.

Just so I've got this straight, I should change the permissions of the  /root folder to 750? Only that folder?

At least that folder. If you are paranoid, use 700 for /root and all its subfolders; that's the default for some of the directories with configuration files. (750 for a folder means drwxr-x---; 700 means drwx------. When we are talking about directories "x" doesn't mean "execute", it gives a user the right to enter a folder and look at its contents.)

Edited.
« Last Edit: December 14, 2011, 07:49:02 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline timeth

  • Hero Member
  • *****
  • Posts: 829
  • G'day mate-Link for big GIF^ http://db.tt/SUIL4CtK
Re: Can see root in guest account??
« Reply #6 on: December 14, 2011, 09:17:46 PM »
Thanks again  :)

There was some very weird stuff going on. In user account, if I opened Dolphin and clicked on file system, I could see all the usual folders but also Desktop, Documents, Downloads, Pictures folders. There was also the root folder which contained the root Desktop, Documents, Downloads etc.. folders. And,  /home also had its Desktop, Documents etc. folders.

I just did a re-install which fixed everything.

Thanks for your help guys.
宜しくお願いします > Yoroshiku Onegaishimasu > I humbly and respectfully ask for your kindness.  |   My graphics blog

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9706
  • I'm Just A Dog.
Re: [SOLVED] Can see root in guest account??
« Reply #7 on: December 14, 2011, 09:30:30 PM »
I am sure that the parties involved in this discussion understand permissions and how to deal with them. However, in case anyone runs across this thread while doing research, I thought I would add the following link, in an attempt to assist.  ;)

> https://www.linux.com/learn/tutorials/309527-understanding-linux-file-permissions <  
« Last Edit: December 14, 2011, 09:32:18 PM by Rudge »


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: [SOLVED] Can see root in guest account??
« Reply #8 on: December 15, 2011, 01:33:30 PM »
I am sure that the parties involved in this discussion understand permissions and how to deal with them. However, in case anyone runs across this thread while doing research, I thought I would add the following link, in an attempt to assist.  ;)

> https://www.linux.com/learn/tutorials/309527-understanding-linux-file-permissions <  

Nice.

Thanks.