Re: newbie question
- From: Sparks The White Warrior <thewhitewarrior@xxxxxxxxx>
- Date: Sun, 22 Apr 2007 22:27:37 +0200
Hello,
First of all the rpm -e would be the best solution. But for the rest of your question:
To become owner you'll have to log in as root. You can do that by typing:
$su
This stands for Super User. You'll have to provide the root password. When you are logged in as root the "command line" will start with
#
in stead of
$
Now you can change owner with the command
#chown user:group filename
or
#chown -R user:group directory
If you want to change owner to root you type something like
#chown -R root:root j2re.xxx
To change access rights use:
#chmod 777 filename
COUNTION: 777 means all rights to all users. You can change access rights by using other numbers or check out the web for chmod.
grtx,
TWW / MNX
Jan Gerrit Kootstra wrote:
TomF wrote:.i managed to install Redhat 9 and it is working great.TomF,
the problem is a failed install of Sun Java.
trying to reinstall tells me it is already there.
how do i uninstall it to try to reinstall?
if i go to the folder, it says i am not the owner.
how do i become the owner?
i am the only one on the system
ty
What did you use to install it?
to become the owner you need to become root (like windows Administrator)
give the following command in a terminal window:
su -
following command will make user:group the owning user and group (-R means recursive):
chown -R user:group directoryname
The chown might not be necessary to remove the SUN Java stuf, ones you change to the root user.
Warning: If you used rpm to install SUN Java, a simple delete of the directory will not help you.
rpm -e jre
might work.
Kind regards,
Jan Gerrit
- References:
- newbie question
- From: TomF
- Re: newbie question
- From: Jan Gerrit Kootstra
- newbie question
- Prev by Date: Re: Fedora Core
- Next by Date: SMBFS question
- Previous by thread: Re: newbie question
- Next by thread: error :"gnome-terminal" (process 1694) has crashed due to a fatal error.
- Index(es):
Relevant Pages
|