LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2011, 04:54 AM   #1
jurky
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Rep: Reputation: 1
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
 
Old 03-08-2011, 04:56 AM   #2
Joe of Loath
Member
 
Registered: Dec 2009
Location: Bristol, UK
Distribution: Ubuntu, Debian, Arch.
Posts: 152

Rep: Reputation: 28
Did you make it using sudo? And if so, where?
 
Old 03-08-2011, 05:06 AM   #3
ravikiran189
Member
 
Registered: Mar 2011
Posts: 45

Rep: Reputation: 4
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...
 
Old 03-08-2011, 05:08 AM   #4
jurky
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Joe of Loath View Post
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
 
Old 03-08-2011, 05:13 AM   #5
ravikiran189
Member
 
Registered: Mar 2011
Posts: 45

Rep: Reputation: 4
sudo su
Enter password
chmod 777 /home/joe/Documents/Folder1

now try moving the folder
 
Old 03-08-2011, 05:36 AM   #6
jurky
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 1
@ravikiran189 problem solved!!! thanks a lot!!!
 
1 members found this post helpful.
Old 03-08-2011, 05:47 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You don't need to use sudo to create directories in a directory you own..
 
Old 03-08-2011, 05:54 AM   #8
ravikiran189
Member
 
Registered: Mar 2011
Posts: 45

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
folder lock avee137 Linux - Newbie 4 08-04-2010 02:51 PM
Is there any application to lock my folder vibinlakshman Linux - Newbie 2 12-16-2008 12:40 AM
How to remove /tmp/.X0-lock? Frank Soranno Debian 3 04-23-2007 06:00 PM
how to lock and encrypt a folder in my home? greythorne SUSE / openSUSE 4 06-26-2005 03:18 PM
remove /tmp/.X0-lock ??? ragates Linux - Newbie 1 09-22-2003 07:36 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration