HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rsync with permission problems
Operating System - HP-UX
1833802
Members
2427
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-02-2002 10:46 PM
07-02-2002 10:46 PM
rsync with permission problems
HI,
I'm trying to rsync filesystems between 2 NIS domains in which I do have accounts, with the same user name.
I'm trying to rsync a filesystem in which I'm not the owner of it, nor do I belong to its workgroup, from 1 machine(plxw0140.png.excel.com) to another machine(php.pdx.excel.com). Both of these machines are on 2 different NIS domains.
I invoked rsync as follows:
rsync -avl plxw0140.png.excel.com:/fs29/psdir /pgserver/restore/tmp
It produced the error:
rcmd2: socket: the file access permissions do not allow the specified action
unexpected EOF in read_timeout.
I've made the .rhosts file in my home directory of php.pdx.excel.com to have the following entry:
plxw0140.png.excel.com cjleaw
The .rhosts file in my home-dir of plxw0140.png.excel.com contains:
php.pdx.excel.com cjleaw
I do not however have root access to plxw0140.png.excel.com hence, I can't add php.pdx.excel.com cjleaw into the /.rhosts file.
can someone help me out ?
Thanks.
I'm trying to rsync filesystems between 2 NIS domains in which I do have accounts, with the same user name.
I'm trying to rsync a filesystem in which I'm not the owner of it, nor do I belong to its workgroup, from 1 machine(plxw0140.png.excel.com) to another machine(php.pdx.excel.com). Both of these machines are on 2 different NIS domains.
I invoked rsync as follows:
rsync -avl plxw0140.png.excel.com:/fs29/psdir /pgserver/restore/tmp
It produced the error:
rcmd2: socket: the file access permissions do not allow the specified action
unexpected EOF in read_timeout.
I've made the .rhosts file in my home directory of php.pdx.excel.com to have the following entry:
plxw0140.png.excel.com cjleaw
The .rhosts file in my home-dir of plxw0140.png.excel.com contains:
php.pdx.excel.com cjleaw
I do not however have root access to plxw0140.png.excel.com hence, I can't add php.pdx.excel.com cjleaw into the /.rhosts file.
can someone help me out ?
Thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:47 AM
07-03-2002 03:47 AM
Re: rsync with permission problems
I believe rsync uses remsh by default to commumicate between the machines. Can you use remsh successfully?
I seem to remember having a similar problem with remsh when the permissions were wrong on the remsh executable. It didn't have the setuid bit on. When the permissions were changed to include setuid everything was OK.
Ian
I seem to remember having a similar problem with remsh when the permissions were wrong on the remsh executable. It didn't have the setuid bit on. When the permissions were changed to include setuid everything was OK.
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:49 AM
07-03-2002 03:49 AM
Re: rsync with permission problems
Ian,
could you elaborate more on how you've used remsh and setting of the setuid and setgid to work?
I'm pretty new in this area of rsync.
Thanks.
could you elaborate more on how you've used remsh and setting of the setuid and setgid to work?
I'm pretty new in this area of rsync.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 05:10 AM
07-03-2002 05:10 AM
Re: rsync with permission problems
I'm not an expert on rsync, but I think that when you run your command:
rsync -avl plxw0140.png.excel.com:/fs29/psdir /pgserver/restore/tmp
it will use remsh on php.pdx.excel.com to run another rsync command on plxw0140.png.excel.com.
All I'm suggesting is that you try something simple like 'remsh plxw0140.png.excel.com ls -l'. If this produces the same error message as the rsync command then it implies some sort of problem with remsh. As I explained above, one possible cause of that might be if remsh doesn't have the setuid bit on, so it runs under your own ID instead of root. Doubtless there are other possible causes too.
rsync -avl plxw0140.png.excel.com:/fs29/psdir /pgserver/restore/tmp
it will use remsh on php.pdx.excel.com to run another rsync command on plxw0140.png.excel.com.
All I'm suggesting is that you try something simple like 'remsh plxw0140.png.excel.com ls -l'. If this produces the same error message as the rsync command then it implies some sort of problem with remsh. As I explained above, one possible cause of that might be if remsh doesn't have the setuid bit on, so it runs under your own ID instead of root. Doubtless there are other possible causes too.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP