LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   remove 'lock' from a folder (https://www.linuxquestions.org/questions/linux-newbie-8/remove-lock-from-a-folder-867155/)

jurky 03-08-2011 03:54 AM

remove 'lock' from a folder
 
Hey everyone,

i made a folder with the terminal, but it shows a little lock on it. when i try to save or drag n drop folders into it i get an error. it says permission denied... how can i fix this?

Jurky

Joe of Loath 03-08-2011 03:56 AM

Did you make it using sudo? And if so, where?

ravikiran189 03-08-2011 04:06 AM

Hi,
Seems you don't have permissions to move the folder you have created

Open a terminal..Go to the path you have created a folder then do the below said through a root user

chmod 777 <Folder name>

seems you are trying to drag and drop a folder which you have created through a terminal in GUI...

jurky 03-08-2011 04:08 AM

Quote:

Originally Posted by Joe of Loath (Post 4282508)
Did you make it using sudo? And if so, where?

the command i used was a sudo yes!
this is the command i used
Code:

sudo mkdir /home/joe/Documents/Folder1
this folder show the little lock, and says access denied when i want to save or drag n drop a file there

ravikiran189 03-08-2011 04:13 AM

sudo su
Enter password
chmod 777 /home/joe/Documents/Folder1

now try moving the folder

jurky 03-08-2011 04:36 AM

@ravikiran189 problem solved!!! thanks a lot!!!

Nylex 03-08-2011 04:47 AM

You don't need to use sudo to create directories in a directory you own..

ravikiran189 03-08-2011 04:54 AM

Yeah you can create a folder as normal user only..in this case i suggested as he created a folder with sudo privileges


All times are GMT -5. The time now is 01:47 AM.