LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05: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, 05:46 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,684

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
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, 05:46 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Have you tried removing the folder as root?
 
Old 04-18-2010, 06: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, 09:15 PM   #5
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,008

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

Rep: Reputation: 120Reputation: 120
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 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
Open Source Consulting | Domain Registration