If you are one of those users who are not familiar with the terminal lets, teach you how to unlock a folder. So you normal avoid the terminal and like to drag and drop and move folders around like you were used to doing in windows, but now you have come across a folder or file you want to move of delete and it has a mini lock icon on it. You click and drag it and try and delete it or move it but no matter how many times you try that file just won't move of go away. So now it is time for you to open up the scary terminal and fix this simple problem. Here is how to unlock a folder using your terminal:
1. First lets Open up your terminal.
To open up your terminal in Ubuntu you can navigate to Applications>Accessories>Terminal
2. Navigate to the locked folder in the terminal
For most, when you open a terminal in Ubuntu you will start out in your Home directory. If your folder is located in a path in your home directory you can navigate to it by using the cd command, for changing directory. Just type. "cd folder-name" without the quotes. Also in ubuntu folder names are case sensitive. If your folder is on your desktop then you will have to navigate out of the home folder and onto the desktop. To navigate to the desktop type, "cd Desktop" without the quotes.
Once you have navigated to the directory that the locked folder is in you will then change the permissions of the file using the terminal.
3. Unlock the the folder
When your in the directory the folder is in type this command into the terminal, "sudo chown -R username:username folder-name" again without the quotes, and replace the folder-name with your actual folder name. You will then be prompted to type your user password into the terminal and once you hit enter the folder will be unlocked and ready to be moved or deleted.
Published by Courant
A college student who love technology and minimal running. I have run in everything from Newtons down to Luna Sandals and love to share my minimal running knowledge View profile
Ubuntu Storms Linux CommunityA relatively new distribution to enter the scene is called Ubuntu, and it's quickly become the most widely downloaded flavor of Linux. Great features and a seemless user experie...- How to Install RPM and TGZ Packages in Ubuntu Using AlienSometimes, no matter how large and extensive Ubuntu's software repositories are, you'll come across a program you want to install that Ubuntu doesn't maintain. In this case, you may need to use alien to install a for...
Easy Folder Games for Preschool Aged ChildrenUsing a manila folder, you can create a learning game your child will love.- How to Delete Locked Files or FoldersThis article informs you on how to delete locked files or folders in Windows.
How to Install RealPlayer 11 in UbuntuReal recently released version 11 of the RealPlayer media software, and while it isn't in the Ubuntu repositories (and likely never will be due to copyrights), that doesn't mean...
- ColorLabels - a Folder Coloring Utility for Macs
- How to Install Software in Ubuntu Linux - a Guide
- Nautilus' Tops Extensions: Add-Ons for File Manager in Ubuntu Linux
- How to Configure a USB Modem for Dial-Up Internet Access in Ubuntu Linux 9.10
- Ubuntu Linux: What the Popular Open Source Operating System Has to Offer
- Ubuntu Linux a Powerhouse OS for Everyone
- How to Enable Encrypted DVD Playback in Ubuntu Linux

2 Comments
Post a CommentI typed in the command sudo chown -R username:username folder-name. I did something while trying to get wine to run World of Warcraft, it locked me out. Whenever I type in World of Warcraft, just how it is on my desktop it tells me
chown: cannot access `World': No such file or directory
chown: cannot access `of': No such file or directory
chown: cannot access `Warcraft': No such file or directory
Files from Windows, tried to trash and now stuck in the Trash. Cannot delete or move.