- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rsync issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 07:17 PM
тАО02-11-2010 07:17 PM
rsync issue
I have rsync utility 3.0.6 installed on HP-UX v11.11.
I tried to run rsync over ssh and using public key. I do not want to use super user in the remote system (HP-UX v11.11 and rsync 3.0.6).
Both server configuration and system are identical, apart from host name and IP address.
My question is how I can rsync files to remote system and keep file permission, owner, group without root?
I tried "fake-user" parameter, but got following error,
rsync: extended attributes are not supported on this client
rsync error: syntax or usage error (code 1) at main.c(1422) [client=3.0.6]
Would someone have any ideas? Thanks in advance.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 07:52 PM
тАО02-11-2010 07:52 PM
Re: rsync issue
Do you want to change the permission on destination machine without root.
not able to understand ur requirement.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 07:58 PM
тАО02-11-2010 07:58 PM
Re: rsync issue
Both servers have same OS and configuration, including /etc/passwd and /etc/group.
I would like to keep file owner, group and permission same on remote server same as source server without using super user account.
thanks,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 08:18 PM
тАО02-11-2010 08:18 PM
Re: rsync issue
> permission same on remote server same as
> source server without using super user
> account.
For a variety of reasons, a normal user can't
take or give away the ownership of a file.
Some entity with special privileges can do
it, such as a privileged user ("root") or a
program which has special privileges ("sudo",
or something else with an suid permission
bit set, for example).
> I do not want to use super user in the
> remote system [...]
Why not? (The job's too easy that way?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 08:24 PM
тАО02-11-2010 08:24 PM
Re: rsync issue
I suppose you doing it for redundancy purpose.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2010 08:02 AM
тАО02-13-2010 08:02 AM
Re: rsync issue
Otherwise you need to use root or root permissions one way or the other.
UNIX 101
Are you using file ACLs?
lsacl /source
http://docs.hp.com/en/B2355-90672/ch12s06.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2010 02:46 PM
тАО02-14-2010 02:46 PM
Re: rsync issue
Thanks for all your reply.
The remote server is DR server. So I would like to keep it same as production server.
Root and public key are working fine in this case. Due to security audit issue, I can't use root and public key to replicate data.
However, I would like to keep file owner, group and permission on DR server same as production server. Is it possible to achieve this?
kind regards,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2010 02:52 PM
тАО02-14-2010 02:52 PM
Re: rsync issue
==> More than 1.5 million files need to be replicated. It's difficult to control file owner, group, permission for each file.
Are you using file ACLs?
==> It's no ACLs in place in the system.
kind regards,
Eruc