Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Why do you want to delete files from /tmp that don't belong to you? You could negatively affect other users or applications by doing this. The reason you cannot delete files that you don't own from /tmp, despite /tmp's permissions of 777, is because the sticky bit is set on the directory. root can obviously delete them, hence the suggestions for using sudo, but I'm not sure it's adviseable to trigger this cleanup when a single (normal) user logs off.