That's extremely conservative. rpm must have root access to modify
anything. rpm query is a powerful tool for users to find out what
software does and can be a good place to start learning about a new
package or to look for a program with particular functionality. Its also
a good way to find out what package a file belongs to and hence its
functionality (rpm -qf filename; or rpm -qfi filename) Save you some
bandwidth on your internet connection because users have to go to the
internet to find out about stuff.

Tom

Larry Sword wrote:
> 
> Tom Berkley wrote:
> 
> > My laptop is set to max security level and it works fine here. I did
> > have to go to the root directory after setting the max security level
> > and allow group-other read-execute access on all the system directories
> > except root afterwards but I have never encountered what you are
> > describing. What are the permissions on the /bin/rpm file. It should be
> > -rwxr-xr-x, if not chmod will take care of the problem.
> >
> > Tom
> 
> Actual I don't want to have users or others to have access to rpm.
>  832 -rwxr-x---    1 root     root       846240 Nov  1 01:21 /bin/rpm*
> 
> Larry
> 
> >
> > Larry Sword wrote:
> > >
> > > Tom Berkley wrote:
> > >
> > > > rpm query options can be done by any user but changing anything with rpm
> > > > -i -U -e all require root privileges.
> > > >
> > > > Tom
> > >
> > > Not on my system and I suspect not on Benjamin's with present security level.
> > >
> > > [broten@sword broten]$ rpm -q XFree86
> > > bash: /bin/rpm: Permission denied
> > > [broten@sword broten]$
> > >
> > > Larry
> > >
> > > >
> > > >
> > > > Larry Sword wrote:
> > > > >
> > > > > Benjamin Sher wrote:
> > > > >
> > > > > > Dear friends:
> > > > > >
> > > > > > First, my thanks to all of you who have written in with suggestions on
> > > > > > how to configure the new RealPlayer7.
> > > > > >
> > > > > > I decided to begin from the beginning. I first tried to delete the old
> > > > > > version and got the following error message:
> > > > > >
> > > > > > [sher@adsl-77-232-213 sher]$ rpm -e
> > > > > > RealPlayer7 failed to open //var/lib/rpm/packages.rpm
> > > > > > error: cannot open //var/lib/rpm/packages.rpm
> > > > > > [sher@adsl-77-232-213 sher]$
> > > > >
> > > > > You probably have you security set so that you, as a user sher, now longer
> > > > > have premission to the rpm and data dase files. Try as root.
> > > > >
> > > > > > Strangely enough, this is exactly the same error message I got
> > > > > > originally when trying to install the Red Hat RealPlayer7 rpm. Which is
> > > > > > why I downloaded and installed the rp7install.bin version.
> > > > > >
> > > > > > I then deleted every RealPlayer file on my system, including at
> > > > > > /usr/X11R6/bin, /usr/bin/X11, /usr/bin, and my home directory (the
> > > > > > RealPlayer7 folder and all RealPlayer hidden files).
> > > > > >
> > > > > > When I type "whereis RealPlayer" here is what I get:
> > > > > >
> > > > > > root@adsl-77-232-213 sher]# whereis RealPlayer
> > > > > > RealPlayer:
> > > > > > [root@adsl-77-232-213 sher]# whereis realplay
> > > > > > realplay:
> > > > > > [root@adsl-77-232-213 sher]#
> > > > > >
> > > > > > Now when I try to install the RealPlayer7 rpm, here is what I get:
> > > > > >
> > > > > > [root@adsl-77-232-213 sher]# rpm -Uvh RealPlayer-7_0-1_i386.rpm
> > > > > > package RealPlayer-7.0-1 is already installed
> > > > >
> > > > > If you did not use rpm to remove the program and files then rpm still has
> > > > > the program and files listed in the data base as installed.
> > > > >
> > > > > >
> > > > > > I exited KDE, rebooted, and still I get this message. RealPlayer7 is NO
> > > > > > LONGER installed, but the error message above tells me it is.
> > > > > >
> > > > > > Could someone please troubleshoot this for me. I am thoroughly confused.
> > > > >
> > > > > You can try a force rpm -e then t rpm --rebuilddb
> > > > >
> > > > > >
> > > > > > Thank you all so very much.
> > > > > >
> > > > > > Benjamin
> > > > > > [
> > > > > >
> > > > > > ----
> > > > > > Benjamin and Anna Sher
> > > > > > [EMAIL PROTECTED]
> > > > > > Sher's Russian Web
> > > > > > http://www.websher.net

Reply via email to