LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-05-2007, 06:37 PM   #1
tjamnz
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Rep: Reputation: 0
cant uninstall file no matter what? even though i own it.


dir1 drwxr-xr-x

cd dir1

ls -a

.
..
config

config permissions are -rwx------


anyways i installed this program at my paid arpa member shell account at freeshell.org called centericq

it allows you to use your msn instant messenger through the shell.

Im supposed to have read write and execute privs in my home dir

cant login as su (of course)

any ideas as to how to get rid of this file?

ive tried rm * , rm config.... and get no error messages but the file wont dissapear..

thanks for any tips.

i cant erase the parent dir1 either (tried rm -r dir1)

-t

Last edited by tjamnz; 09-05-2007 at 06:40 PM.
 
Old 09-05-2007, 06:48 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Paste:
Code:
ls -Alh dir1
Also nice would be the OS it is running and the output of uname -a.

It might be that something is still using the file. I know on cygwin once I removed a file and it wouldn't actualy disappear until I closed the program that had it open.
 
Old 09-05-2007, 06:51 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,805

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
It is not clear from your post what the error messages are, but this **should** get rid of the file:

cd /path/parent_directory ....#i.e. cd to the directory which contains the file
rm -rf parent_directory

You say you are the owner....can you do chmod to change permissions?
 
Old 09-06-2007, 01:05 AM   #4
tjamnz
LQ Newbie
 
Registered: Jun 2007
Posts: 6

Original Poster
Rep: Reputation: 0
re

$ ls -Alh dir1
total 27B
-rwx------ 1 t**** arpa 27B Sep 5 21:32 config
$


NetBSD sdf 2.1.0_STABLE NetBSD 2.1.0_STABLE (sdf) #0: Fri Mar 30 02:24:32 UTC 2007
root@ol:/var/sys/arch/alpha/compile/sdf alpha


yeah i can do chmod too.

$ pwd
/arpa/tz/t/t****
$

$ ls
INBOX.Drafts INBOX.Trash dead.letter mail mydocs
INBOX.Sent Mail dir1 mbox myftp
$

$ cd dir1
$ pwd
/arpa/tz/t/t****/dir1
$

$ ls -a
. .. config
$

$ rm -rf parent directory
$ cd ..
$ ls
INBOX.Drafts INBOX.Trash dead.letter mail mydocs
INBOX.Sent Mail dir1 mbox myftp
$
$
$ # you can see dir1 is still there
$

ok now i'll try from $home

$ cd
$ rm dir1
rm: dir1: is a directory
$ rm -r dir1
$ ls
INBOX.Drafts INBOX.Trash dead.letter mbox myftp
INBOX.Sent Mail mail mydocs
$
$ # i tried this before and it didnt work earlier hmm..
$ # anyways...
$ # its finally gone.. thanks for all your help...
$ # glad to be new member!


free unix bsd account at freeshell.org

Last edited by tjamnz; 09-06-2007 at 01:18 AM. Reason: updated a few times during troubleshooting
 
  


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 Do You "UNINSTALL" a tar.gz file???? Make Uninstall not effective Balarabay1 SUSE / openSUSE 6 05-22-2006 10:27 PM
How do you uninstall software which doesn't have an uninstall-file? lagu2653 Linux - Software 2 12-08-2005 01:36 PM
How to uninstall from a source file Rick069 Mandriva 2 11-15-2005 06:41 PM
How do you uninstall a bin file? mickyg Linux - Software 1 10-28-2004 08:45 AM
does it matter that part of my file system is > 10% non-contiguous? jaybee Linux - Hardware 1 03-23-2004 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:09 PM.

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