LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-23-2003, 03:31 PM   #1
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Rep: Reputation: 15
Cannot delete locked JPEGs


Ive got some pictures in a folder that will not delete.
I get a error 'xxx.jpg does not exist'
I get syntax error if I try to delete them with the command line.
Nornally my pictures show up as a thumbnail but these ones appear as an icon with a padlock.
 
Old 11-23-2003, 03:48 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Which user/group owns the files and what are the permissions?
 
Old 11-24-2003, 03:06 PM   #3
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Original Poster
Rep: Reputation: 15
User/group are both me,
Properties of one of these jpegs are;
User / Group / Others - have read permissions
User / Group - have write permissions
Nothing for 'exec' or 'special'
 
Old 11-24-2003, 04:01 PM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Any funky characters in the filename? ...ie: \(%
 
Old 11-24-2003, 04:15 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Have you tried

rm -rf path_to_file

or

rm -Rf path_to_directory

etc
 
Old 11-26-2003, 02:50 PM   #6
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by mcleodnine
Any funky characters in the filename? ...ie: \(%
Yes theres some funky squares, is this the prob?
 
Old 11-26-2003, 05:23 PM   #7
tiktak
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
Yes. Check the encoding settings of your filesystems in case of Microsoft style partitions. Check your locale settings. Or rename your files using plain ASCII names without special characters.

Seems like your file manager doesn't only incorrectly display nonstandard characters, but completely fails to work with them. Which file manager is it anyway?
 
Old 11-27-2003, 03:05 PM   #8
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Original Poster
Rep: Reputation: 15
Quote:
Yes. Check the encoding settings of your filesystems in case of Microsoft style partitions.


Quote:
Check your locale settings.


Or rename your files using plain ASCII names without special characters.

I cannot rename them !
The jpg name is very long with the first few words (of name) showing up as bold text, the rest being normal with about 3 squares in the name

In the command terminal the squares don't appear, the filenames are much shorter
Here's one from terminal:
020Budapestcdf?BB1116024(Taurus)@D?liP?lyaudvar19-07-2003Chatreau.JPG
I'm using KDE3.1 and cannot edit the filename at all
Its a pity I cannot upload a pic of one.
 
Old 11-27-2003, 03:10 PM   #9
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Is it a NTFS partition? 'cause you can't write to that.
 
Old 11-27-2003, 03:28 PM   #10
Riichard
Member
 
Registered: Sep 2003
Location: 3rd Rock
Distribution: Mepis 6.5.02
Posts: 106

Original Poster
Rep: Reputation: 15
Fixed it !
rm -r filename

 
Old 11-27-2003, 03:41 PM   #11
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Quote:
Originally posted by Skyline
Have you tried

rm -rf path_to_file

or

rm -Rf path_to_directory

etc
 
  


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
xawtv: where does it store GRABBED JPEGS? agron Linux - Software 1 11-12-2005 03:39 PM
trying to recursively copy jpegs DJOtaku Linux - General 10 08-26-2005 02:09 PM
Cannot read a CD of jpegs in Mandrake 10! SpartacusJones Linux - Newbie 22 09-04-2004 11:09 PM
Trying to mount a CD with .jpegs on it soujrnr Linux - Software 2 08-13-2004 10:11 PM
Mandrake 9.2, mozilla and jpegs f0rmula Linux - Software 1 02-15-2004 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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