Solved

Copying files with permissions in tact from Solaris to Redhat

Posted on 2009-05-20
2
301 Views
Last Modified: 2013-12-06
I have two machines...one Solaris and one RedHat linux. I want to copy the files from the Solaris box to the Redhat box preserving the file permissions. How can I accomplish this?
0
Comment
Question by:swammie99
2 Comments
 
LVL 23

Accepted Solution

by:
Maciej S earned 500 total points
ID: 24431090
On solaris: tar cf archive.tar /directory/to/transfer
On redhat: tar xf archive.tar
Run this both commands as root.
Make sure, that you have your redhat users with the same uids as on solaris box.
Additionally - I'm not sure, if you are able to transfer ACLs set on these files/directories.
0
 

Author Comment

by:swammie99
ID: 24431106
I have tried that but am having problems with tar and long file names. Do you know if there is any way to tar regardless of file name length?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Creating a Samba server for a small office. Ubuntu Linux and Samba can breathe new life into a retired PC and save an office money on new hardware/software. Our example server will have two hard disks, one exclusively for storing shared data. …
Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 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