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 04-18-2010, 06:29 PM   #1
ambieee
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
How to delete "locked" folder and contents?


i locked a folder of pictures on my linux and now want to delete them, but it wont even let me open the folder or do anything with it, what do i do to unlock it then delete it?????????
 
Old 04-18-2010, 06:46 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,942

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by ambieee View Post
i locked a folder of pictures on my linux and now want to delete them, but it wont even let me open the folder or do anything with it, what do i do to unlock it then delete it?????????
Do not flag your posts as urgent. This isn't urgent for anyone but you...we volunteer our time here, so telling us to hurry up and help you is very rude.

Second, if you want answers to your questions, post some actual, useful details. Things like version/distro of Linux, how you 'locked' this folder, using what application, etc.
 
Old 04-18-2010, 06:46 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Have you tried removing the folder as root?
 
Old 04-18-2010, 07:02 PM   #4
hunternet93
Member
 
Registered: Jun 2009
Posts: 87

Rep: Reputation: 31
Assuming you are usuing ubuntu or similar with GNOME, press alt-f2. In the box that shows up type "gksudo nautilus" (without the quotes). Then, type your password. Now you can delete or open anything, locked or not. Be careful, you could even delete important system files.
 
Old 04-18-2010, 10:15 PM   #5
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,252

Rep: Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685Reputation: 2685
I second TB0ne, how did you lock the folder?
 
Old 04-19-2010, 07:32 AM   #6
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 548

Rep: Reputation: 116Reputation: 116
I'd imagine the OP has changed the permissions on the folder and now is unable to get back in. If you are the owner of said folder then you should be able to change them back again!
 
  


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
How to delete all folders and their contents except 3 rjo98 Linux - Newbie 3 01-28-2010 09:41 AM
How to delete the contents of a file Ericchiu Linux - Newbie 6 04-23-2008 09:16 PM
A script within a folder to delete the folder, script, and the folder's contents Cyberman Programming 15 10-17-2007 08:32 AM
want to 'tar' a folder without some contents of folder shipon_97 Linux - Newbie 5 10-13-2007 05:21 AM
Cannot delete locked JPEGs Riichard Linux - Software 10 11-27-2003 03:41 PM


All times are GMT -5. The time now is 06:57 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