Solved

Red Hat rpm permissions

Posted on 2014-01-21
6
462 Views
Last Modified: 2014-01-22
I have a Red Hat 6.4 OS on a closed network that need to update manually.
I copied some rpms to a private folder on a closed network. But later I notice the ownership of each rpms change to me and had 600 permissions.   i.e unix2dos
How should I change the permissions of rpm's to what they should be.  Is there a standard permission for rpm's?
0
Comment
Question by:gumball60
  • 3
  • 3
6 Comments
 
LVL 31

Accepted Solution

by:
farzanj earned 435 total points
ID: 39797875
No, the only thing that matters is that you are able to issue command to install them

rpm -ivh RPM_NAME.rpm

When and RPM is installed, what matters is the permissions of what it installs and RPM does it when it runs.

You can always change the permissions of any file using command
chmod

See manual
man chmod

Example
chmod 777 filename

To change the ownership, you can use chown
man chown

Also, I don't know how you copied but you can always maintain permissions in your copy command
cp -p source target
0
 

Author Comment

by:gumball60
ID: 39800190
when I run rpm -ivh RPM_NAME.rpm,  I am getting Warning:  xxx.rpm Header V4 DSA/SHA1 signature, key ID #####  Error: Failed Dependencies:
RPM_NAME = RPM_NAME.rpm is needed by RPM_NAME...x86_64

Do I needed download and copy the said dependencies...and perform the rpm -ivh on them?
0
 
LVL 31

Expert Comment

by:farzanj
ID: 39800199
Check if you have this RPM.  If you don't you have to get it.  This process is tedious and may take many more downloads but you can certainly try.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:gumball60
ID: 39800321
What is good way of downloading specific rpms without a subscription to Red Hat?
0
 
LVL 31

Expert Comment

by:farzanj
ID: 39800329
If you don't have subscription, it becomes difficult.  The clever thing is to use one of the RedHat clones instead--like CentOS or Scientific linux.  Since they are clones, they are exactly the same and they are absolutely free.  Yum works as well.  Then you don't have any of these problems.
0
 

Author Closing Comment

by:gumball60
ID: 39801756
It works
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now