?
Solved

Red Hat rpm permissions

Posted on 2014-01-21
6
Medium Priority
?
479 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 31

Accepted Solution

by:
farzanj earned 1740 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

800 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