Solved

Copying files with permissions in tact from Solaris to Redhat

Posted on 2009-05-20
2
300 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

860 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