[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] root account cannot delete files...



This will probably seem funny to some of you.  I SSH
to my Raq3 today as admin and su to root.  As the root
user I go into /home/sites/site3/web/cgi-bin and
download and try to install something simple like a
form-to-mail script.  After I'm done mucking around
with it I typed rm -rf formmail.tar.gz and hit enter.
It looks like it completes fine but a ls of the
directory shows the file is still there.  I coulda
swore I've said rm -rf on this same machine before as
root and it would delete anything.  Any thoughts?


The -r switch means recurse into subdirectories, but since you are trying to delete a file, it will have no effect. Just type 'rm formmail.tar.gz' to get rid of the file.

Regards,

Glen Scott

--
-----------------------------------------------------
  Design Solution Limited
  t: +44 (0)1502 513008
  f: +44 (0)1502 588622
  e: info@xxxxxxxxxxxxxxxxxxxx
  w: http://www.designsolution.co.uk
  Nouvotech House, Harbour Road,
  Oulton Broad, Suffolk, NR32 3LZ, UK
-----------------------------------------------------
Graphic Design - Web development - Hosting
-----------------------------------------------------