Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel excel 2003 firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
rpm install permission using root

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
raccoon's Avatar
raccoon
Guest with n/a posts.
 
14-Jun-2004, 12:27 AM #1
rpm install permission using root
i am trying to add java to my web brouser. I copied my downloaded binary file to a new folder /usr/java and did rpm -i javaXXXXXfilename as per the instructions and got permision denied. I had the same results running the self extracting version. I am logged in as root. is there a gui for rpm.
oblivious69's Avatar
Senior Member with 137 posts.
 
Join Date: Jun 2004
Experience: Advanced
14-Jun-2004, 01:17 AM #2
you might need to make the file executable.

Try doing something like "chmod a+x javaXXXXXfilename" and then run the rpm command.
raccoon's Avatar
raccoon
Guest with n/a posts.
 
14-Jun-2004, 05:19 PM #3
I tried the chmod and that command gives me the message "invalad mode string"
I read the man and info pages ? did I just type it wrong

yup i had spaces between the a + and x
Whiteskin's Avatar
Distinguished Member with 2,051 posts.
 
Join Date: Nov 2002
Location: Alberta, Canada
Experience: Windows: Decent. Unix/Linux: Advanced +1
14-Jun-2004, 06:54 PM #4
Nospaces a+x means all users get execute permissions. chmod a+x javablahblahblah. (Its cases like these that make me want to kiss the feet of the inventors of apt. )
SIGKILL's Avatar
SIGKILL
Guest with n/a posts.
 
19-Jun-2004, 06:05 PM #5
Try a chmod using absolute mode as opposed to symbolic mode... For example instead of "chmod user+x" do a "chmod 744 javafilename"... this way only the owner has full permissions to the binary. Or if you really want to, you can append an ACL to the file using the setfacl command... "setfacl -m u:root:rwx javafilename"... this way the default permissions are intact while special permissions are appended for a particular UID.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 09:18 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.