Solved

Copying files with permissions in tact from Solaris to Redhat

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now