Nautilus shows all of the files in / even for normal users

Bug #1457411 reported by Imri Paloja
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Upstream Bug Report: https://bugzilla.gnome.org/show_bug.cgi?id=749677

Right now if you go to `/` you would still see all of the files there. If your logged in as root, I can understand that, but as a normal users, its just an invitation for some users to go around and possibly break things.

Currently users see this:

bin
boot
cdrom
dev
etc
home
initrd.img
initrd.img.old
lib
lib32
lib64
lost+found
media
mnt
opt
proc
root
run
sbin
srv
sys
tmp
usr
var
vmlinuz
vmlinuz.old

By some minor tweaking one could turn that into this:

home
tmp

That can be achieved by adding a file in the root folder `/.hidden` with the following content:

bin
boot
cdrom
dev
etc
home
initrd.img
initrd.img.old
lib
lib32
lib64
lost+found
media
mnt
opt
proc
root
run
sbin
srv
sys
usr
var
vmlinuz
vmlinuz.old

Every file you put in - that’s in the same directory as the file itself - will be hidden.

Now, I also hide the home folder, made a link of my $username folder, and paste that in the root dir /. I also made a Applications folder with desktop files in them. We could link it to /usr/share/applications/. But the icons are not active for some reason? I copied the .desktop files to a folder in my home dir, and activated that, We could do something like that?

I think that this is how all the `/` folders should look like for normal users in the future:

Applications
$username
tmp

screenshot

http://i.stack.imgur.com/5UyYH.png

This is just an idea.

I wrote about this years ago:

 - http://www.eurobytes.nl/tutorials/how-to-hide-files-and-folders

And to did others:

 - http://www.webupd8.org/2015/05/how-to-hide-files-and-folders-in-your.html
 - http://ubuntuguide.net/another-way-to-hide-files-folders-in-ubuntu
 - http://askubuntu.com/questions/243805/hide-certain-files-and-folders/
 - http://askubuntu.com/questions/143315/how-to-hide-files-and-folders-in-nautilus/

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: nautilus 1:3.10.1-0ubuntu9.7
ProcVersionSignature: Ubuntu 3.16.0-37.51~14.04.1-generic 3.16.7-ckt9
Uname: Linux 3.16.0-37-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
CurrentDesktop: Unity
Date: Thu May 21 11:15:35 2015
EcryptfsInUse: Yes
GsettingsChanges: b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'owner', 'group', 'permissions', 'mime_type', 'where']"
InstallationDate: Installed on 2015-05-18 (2 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Imri Paloja (blade19899) wrote :
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in nautilus (Ubuntu):
importance: Undecided → Wishlist
status: New → Won't Fix
Revision history for this message
Sebastien Bacher (seb128) wrote :

Note that
- users can see those directories but don't have write access to most so they can't actually damage things
- nautilus open by default in the user directory, you need to go out of your way to see the system directories, it's not likely to confuse users then
- that's not likely a change Ubuntu is going to work on, maybe upstream would be interested though

Revision history for this message
Imri Paloja (blade19899) wrote :

@Sebastian

Here is the upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=749677

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.