?
Solved

Red Hat rpm permissions

Posted on 2014-01-21
6
Medium Priority
?
484 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
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

 

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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

649 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