Solved

Copying files with permissions in tact from Solaris to Redhat

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

785 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