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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am running ubuntu on a dell d600. i downloaded an i386 folder to my desktop - and now cannot delete it. it has a little lock above the icon, i have logged in as admin and still cannot rm the folder. it will not disappear - any whay i can get rd of this windows folder on my desktop?
The "little lock" you describe suggests that the issue is permissions. Can you show the permissions for the directory, please? Open a terminal, change directory to Desktop (i.e. "cd Desktop") and then run "ls -l | grep directory", where directory is the relevant directory.
The "little lock" you describe suggests that the issue is permissions. Can you show the permissions for the directory, please? Open a terminal, change directory to Desktop (i.e. "cd Desktop") and then run "ls -l | grep directory", where directory is the relevant directory.
Save a process:
Code:
ls -ld directory
where directory is the directory of interest
To casperdaghost: please post the output of that command here so we can see what the permissions are.
I think you either need to add writable permissions to it, or use -f with rm or answer the question rm poses when you try to delete the write-protected directory.
Code:
cd ~/Desktop
chmod +w I386
rm -r I386
Or
Code:
rm -rf ~/Desktop/I386
Make sure you really want it deleted as this makes it almost impossible to recover. I'd suggest the first approach, but before the rm -r command, have a look inside to make sure there's nothing you can't afford to lose.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.