Re: [expert] Undeletable file found in mailbox file need help.

2003-01-02 Thread milosh
On Wed, Jan 01, 2003 at 07:58:49PM -0500, Tom wrote:
 There are non-printed characters in the file name. The only way to clear up 
 something like this is with:
 rm -ir cur
 
 (as root) and answer each file with yes.
the unix way would be, first to find out the inum:

ls -i

of the file, and than erase it by find:

find . -inum 12345 -exec rm {} \;

where 12345 should be the inum of the file.

have phun ;)
miLosh

-- 
DONT ATTACK IRAQ !!!

this message was sent by:
+--+
|.::|[ The pleXus Network ]|::.|
+--+
www:plexus.shacknet.nu |
ftp:plexus.shacknet.nu +---+
irc:plexus.shacknet.nu:6667 channel: #plexus   |
+--+---+
pub  1024D/C944D699 miLosh (pleXus) [EMAIL PROTECTED] \_
Key fingerprint = 18FB 24BA 77A8 813F 6A8C  F67B C08C 5A76 C944 D699  \
+--+



msg63620/pgp0.pgp
Description: PGP signature


Re: [expert] Undeletable file found in mailbox file need help.

2003-01-02 Thread g


Tom wrote:

 There are non-printed characters in the file name. The only way to clear up
 something like this is with:
 rm -ir cur

i have found that use of '?' in place of 'special character'
will allow removal of trashed character in file and directory names.


peace out.

tc,hago.

g
.
--
 think green...
save a tree, save a life, save time, save bandwidth, save storage.
  send email...   text/plain - disable pgp/gpg/geek code
=+=
 if you are proud to be an american, then buy made in america.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Undeletable file found in mailbox file need help.

2003-01-02 Thread Lyvim Xaphir
One question here.  Have you got qmail installed on your system?


On Tue, 2002-12-31 at 17:31, Salane wrote:
 la ./Mail/SPAM2/cur/
 ls: ./Mail/SPAM2/cur/1041345474.19460.OtLE:2,S: Permission denied
 ./  ../
 
 rm -rf cur/
 rm: cannot remove `cur//1041345474.19460.OtLE:2,S': Permission denied
 
 -- 
 Salane King   
 http://salane.homelinux.com
 

--LX

-- 
°°°
Kernel  2.4.18-6mdk Mandrake Linux  8.2
Enlightenment 0.16.5-11mdkEvolution  1.0.2-5mdk
Registered Linux User #268899 http://counter.li.org/
°°°



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Undeletable file found in mailbox file need help.

2003-01-02 Thread Salane
no


On Thursday 02 January 2003 06:17 pm, Lyvim Xaphir wrote:
 One question here.  Have you got qmail installed on your system?

 On Tue, 2002-12-31 at 17:31, Salane wrote:
  la ./Mail/SPAM2/cur/
  ls: ./Mail/SPAM2/cur/1041345474.19460.OtLE:2,S: Permission denied
  ./  ../
 
  rm -rf cur/
  rm: cannot remove `cur//1041345474.19460.OtLE:2,S': Permission denied
 
  --
  Salane King
  http://salane.homelinux.com

 --LX



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Undeletable file found in mailbox file need help.

2003-01-02 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Salane wrote on Thu, Jan 02, 2003 at 08:26:19PM -0500 :
 
   rm -rf cur/
   rm: cannot remove `cur//1041345474.19460.OtLE:2,S': Permission denied
  One question here.  Have you got qmail installed on your system?
 no

This looks like a reiser filesystem corruption error.  If so, time to do
the various permutations of reiserfsck.  Make sure you download the
absolute latest version of reiserfstools from the reiser website
(www.namesys.com).

If it's not reiser, check the immutable bit:
cd cur/
lsattr

Have you tried 'chmod 777 cur/*' ?  It might do something for you
(though I really REALLY doubt it).

Blue skies...   Todd
- -- 
Never take no as an answer from someone who's not authorized to say yes.
--Ben Reser on Cooker ML
   Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-2mdk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+FPdPlp7v05cW2woRApoiAKCeTiUyHdwPO2ASpdEfJwJBjjPz3ACffWX/
nC9Pl237F6QoScpLOTb4h10=
=pQ54
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Undeletable file found in mailbox file need help.

2003-01-01 Thread Salane
ok yes cur/ is a dir rf should work and I was root. but it seems that rm -rfd 
worked. or the dir was released on reboot.

On Tuesday 31 December 2002 06:55 pm, Vincent Danen wrote:
 On Tue Dec 31, 2002 at 05:41:33PM -0500, Charles A Edwards wrote:
  On Tue, 31 Dec 2002 17:31:42 -0500
 
  Salane [EMAIL PROTECTED] wrote:
   rm -rf cur/
   rm: cannot remove `cur//1041345474.19460.OtLE:2,S': Permission denied
 
  cur is a directory.
  You need to use:
  rm -rfd cur/

 No you don't.

 Check the permissions on cur/[bla file] and see if you have write
 permission.

-- 
Salane King 
http://salane.homelinux.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Undeletable file found in mailbox file need help.

2003-01-01 Thread Tom
There are non-printed characters in the file name. The only way to clear up 
something like this is with:
rm -ir cur

(as root) and answer each file with yes.


On Wednesday 01 January 2003 10:23 am, Salane wrote:
 ok yes cur/ is a dir rf should work and I was root. but it seems that rm
 -rfd worked. or the dir was released on reboot.

 On Tuesday 31 December 2002 06:55 pm, Vincent Danen wrote:
  On Tue Dec 31, 2002 at 05:41:33PM -0500, Charles A Edwards wrote:
   On Tue, 31 Dec 2002 17:31:42 -0500
  
   Salane [EMAIL PROTECTED] wrote:
rm -rf cur/
rm: cannot remove `cur//1041345474.19460.OtLE:2,S': Permission denied
  
   cur is a directory.
   You need to use:
   rm -rfd cur/
 
  No you don't.
 
  Check the permissions on cur/[bla file] and see if you have write
  permission.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Undeletable file found in mailbox file need help.

2003-01-01 Thread Jack Coates
Another quick-n-dirty workaround is to use a file manager to delete it -
e.g. mc.

On Wed, 2003-01-01 at 16:58, Tom wrote:
 There are non-printed characters in the file name. The only way to clear up 
 something like this is with:
 rm -ir cur
 
 (as root) and answer each file with yes.
 
 
 On Wednesday 01 January 2003 10:23 am, Salane wrote:
  ok yes cur/ is a dir rf should work and I was root. but it seems that rm
  -rfd worked. or the dir was released on reboot.
 
  On Tuesday 31 December 2002 06:55 pm, Vincent Danen wrote:
   On Tue Dec 31, 2002 at 05:41:33PM -0500, Charles A Edwards wrote:
On Tue, 31 Dec 2002 17:31:42 -0500
   
Salane [EMAIL PROTECTED] wrote:
 rm -rf cur/
 rm: cannot remove `cur//1041345474.19460.OtLE:2,S': Permission denied
   
cur is a directory.
You need to use:
rm -rfd cur/
  
   No you don't.
  
   Check the permissions on cur/[bla file] and see if you have write
   permission.
 
 
 
 

 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Undeletable file found in mailbox file need help.

2002-12-31 Thread Salane
la ./Mail/SPAM2/cur/
ls: ./Mail/SPAM2/cur/1041345474.19460.OtLE:2,S: Permission denied
./  ../

rm -rf cur/
rm: cannot remove `cur//1041345474.19460.OtLE:2,S': Permission denied

-- 
Salane King 
http://salane.homelinux.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Undeletable file found in mailbox file need help.

2002-12-31 Thread Charles A Edwards
On Tue, 31 Dec 2002 17:31:42 -0500
Salane [EMAIL PROTECTED] wrote:

 rm -rf cur/
 rm: cannot remove `cur//1041345474.19460.OtLE:2,S': Permission denied

cur is a directory.
You need to use:
rm -rfd cur/ 


Charles


How much for your women?  I want to buy your daughter... how much for
the little girl?
-- Jake Blues, The Blues Brothers
--
Mandrake Linux 9.1
Kernel- 2.4.20-2mdk
--


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Undeletable file found in mailbox file need help.

2002-12-31 Thread Vincent Danen
On Tue Dec 31, 2002 at 05:41:33PM -0500, Charles A Edwards wrote:

 On Tue, 31 Dec 2002 17:31:42 -0500
 Salane [EMAIL PROTECTED] wrote:
 
  rm -rf cur/
  rm: cannot remove `cur//1041345474.19460.OtLE:2,S': Permission denied
 
 cur is a directory.
 You need to use:
 rm -rfd cur/ 

No you don't.

Check the permissions on cur/[bla_file] and see if you have write
permission.

-- 
MandrakeSoft Security; http://www.mandrakesecure.net/
lynx -source http://linsec.ca/vdanen.asc | gpg --import
{FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD}


msg63571/pgp0.pgp
Description: PGP signature


Re: [expert] Undeletable file found in mailbox file need help.

2002-12-31 Thread Philip Webb
021231 Salane wrote:
 la ./Mail/SPAM2/cur/
 ls: ./Mail/SPAM2/cur/1041345474.19460.OtLE:2,S: Permission denied
 ./  ../
 rm -rf cur/
 rm: cannot remove `cur//1041345474.19460.OtLE:2,S': Permission denied

you need to check ownership of these directories  file ('ls -l'):
even if their permissions are 755 , you won't be able to delete it,
if any of them is owned eg by 'root'.  to change ownership
'su' then 'chown name:name *' or simply 'rm' as root.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com