How to solve the problem that the recycle bin cannot be cleared under Fedora9

Source: Internet
Author: User
I used to download the gftp security package under Fedora9. After the uninstallation, I used the command to install the package successfully. After removing the gftp-2.0.18, the gftp-2.0.18 contents remain in the recycle bin, but when the recycle bin is cleared, the system prompts that the permission is not limited. PO file, search on the Internet, get to use the following command to delete all the files in the GNOME recycle bin. Sudorm-rf ~ /. Local/share/Trash/files /*

I used to download the gftp security package under Fedora 9. After the uninstallation, I used the command to install the package successfully. After removing the gftp-2.0.18, the gftp-2.0.18 contents remain in the recycle bin, but when the recycle bin is cleared, the system prompts that the permission is not limited. PO file, search on the Internet, get to use the following command to delete all the files in the GNOME recycle bin.

Sudo rm-rf ~ /. Local/share/Trash/files /*

I used this command and failed N times.

[Charles @ localhost ~] $ Sudo rm-rf ~ /. Local/share/Trash/files /*
[Sudo] password for charles:
Charles is not in the sudoers file. This incident will be reported.

Directly use rm-rf ~ /. Local/share/Trash/files/* command to deny prompt my permission limit

[Charles @ localhost ~] $ Rm-rf ~ /. Local/share/Trash/files /*
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/fsplib/. deps/fsplib. Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/fsplib/. deps/lock. Po": Permission not allowed
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/mkstemps. Po": Permission not allowed
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/local. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/rfc2068.Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/rfc959.Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/ftps. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/https. Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/misc. Po": no permission limit
Rm: the permission is not allowed except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/config_file.Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/sslcommon. Po": Permission not allowed
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/cache. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/bookmark. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/protocols. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/fsp. Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/pty. Po": no permission limit
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/lib/. deps/sshv2.Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/text/. deps/textui. Po": Permission not allowed
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/text/. deps/gftp-text.Po"
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/misc-gtk.Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/chmod_dialog.Po": no permission limit
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/transfer. Po": no permission limit
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/view_dialog.Po": do not limit permission
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/delete_dialog.Po"
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/gftp-gtk.Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/dnd. Po": no permission limit
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/menu-items.Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/gtkui_transfer.Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/gtkui. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/bookmarks. Po"
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/gtk/. deps/options_dialog.Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/uicommon/. deps/gftpuicallbacks. Po"
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.0.18/src/uicommon/. deps/gftpui. Po"
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/fsplib/. deps/fsplib. Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/fsplib/. deps/lock. Po": Permission not allowed
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/mkstemps. Po": Permission not allowed
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/local. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/rfc2068.Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/rfc959.Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/ftps. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/https. Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/misc. Po": no permission limit
Rm: the permission is not allowed except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/config_file.Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/sslcommon. Po": Permission not allowed
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/cache. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/bookmark. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/protocols. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/fsp. Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/pty. Po": no permission limit
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/lib/. deps/sshv2.Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/text/. deps/textui. Po": Permission not allowed
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/text/. deps/gftp-text.Po"
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/misc-gtk.Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/chmod_dialog.Po": no permission limit
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/transfer. Po": no permission limit
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/view_dialog.Po": do not limit permission
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/delete_dialog.Po"
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/gftp-gtk.Po"
Rm: cannot exclude "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/dnd. Po": no permission limit
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/menu-items.Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/gtkui_transfer.Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/gtkui. Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/bookmarks. Po"
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/gtk/. deps/options_dialog.Po"
Rm: no permission exists except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/uicommon/. deps/gftpuicallbacks. Po"
Rm: no permission except "/home/charles/. local/share/Trash/files/gftp-2.2.0.18/src/uicommon/. deps/gftpui. Po"

Run the su command, and then run the following commands:

[Charles @ localhost ~] $ Su

Password:
[Root @ localhost charles] # rm-rf ~ /. Local/share/Trash/files /*
[Root @ localhost charles] # rm-rf ~ /. Local/share/Trash/files /*
[Root @ localhost charles] # rm-fr $ HOME/. local/share/Trash/files /*

In the same way, the handler cannot be deleted. I have a big head. I can use the cd command directly, and use the ls-a command to rewrite the handler. in local/share/Trash/files/projects, run the rm-rf * command to delete all files!

[Root @ localhost charles] # cd. local
[Root @ localhost. local] # ls-
... Share
[Root @ localhost. local] # cd share
[Root @ localhost share] # ls-
... Applications audacious codeina desktop-directories Trash
[Root @ localhost share] # cd Trash
[Root @ localhost Trash] # ls-
... Files info
[Root @ localhost Trash] # cd files
[Root @ localhost files] # ls-
... Gftp-2.0.18 gftp-2.2.0.18
[Root @ localhost files] # rm-rf *
[Root @ localhost files] # ls-
...
[Root @ localhost files] #

The operation was successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.