no Trash folder for root user

Bug #494082 reported by sefs
54
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Nautilus
Invalid
Medium
nautilus (Ubuntu)
Invalid
Low
Unassigned

Bug Description

This bug is not new to karmic i have seen it in jaunty but it never bother me until now.

This is a fresh install of Karmic from the Alternate CD

There is NO root user trash folder.

That is, /root/.local/share/Trash does not exist.

If i launch nautilus with the gksudo command I get this error...

***
The folder contents could not be displayed.
Sorry, could not display all the contents of "trash": Operation not supported
***

Browsing via the terminal does not reveal a /root/.local/share/Trash

Unto my problem...
Where do delete files go when deleted in nautilus when nautilus is launched with gksudo.

I deleted a sizable file but the diskspace was not returned to me from this deleted file which means it is still on the disk, I know not where.

Can someone tell me where to look.

Thanks.

ProblemType: Bug
Architecture: i386
Date: Tue Dec 8 12:00:27 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: gnome (not installed)
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
SourcePackage: meta-gnome2
Uname: Linux 2.6.31-16-generic i686

Revision history for this message
sefs (sefsinc) wrote :
Revision history for this message
MestreLion (mestrelion) wrote :

I've also noticed this in both 10.04 Lucid and 10.10 Maverick.

The root user HAS a trash folder (at /root/.local/share/Trash), with the info and files subfolders.

The problem is.. clicking trash at Nautilus (as root) gives the error "Sorry, could not display all the contents of "trash": Operation not supported" as informed by the OP.

So root user has a trash, the deleted files are there, but Nautilus can not access it. Root can not restore the files or clean the trash the same way a normal user can. Nautilus implementation of trash is broken for the root user.

Jeremy Bícha (jbicha)
affects: meta-gnome2 (Ubuntu) → nautilus (Ubuntu)
Changed in nautilus (Ubuntu):
status: New → Confirmed
Jeremy Bícha (jbicha)
Changed in nautilus (Ubuntu):
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Low
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thank you for reporting this bug. I have reported it upstream. You can follow its progress at https://bugzilla.gnome.org/show_bug.cgi?id=657055 if you like.

Changed in nautilus:
importance: Unknown → Medium
status: Unknown → New
Changed in nautilus:
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

starting nautilus with sudo is not something that should be done/which is going to be made to work properly

Changed in nautilus (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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