Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
rsync permission issue

Hello Team,
I am pulling files from a target SunOS 5.10 server to a CentOs 7 server using passwordless ssh.
On the SUNOS server I have created a user ora12c, group staff which I use to connect from the CentOS server.
From CentOS server I am getting permission denied error:
[[email protected] SMS]# rsync -zarvh [email protected]<sourceIP>:/data/CDR/inocs/sms/*.add /data/CDR/SMS
receiving incremental file list
rsync: send_files failed to open "/data/CDR/inocs/sms/cbs_cdr_sms_20210222_601_101_248049.add": Permission denied (13)
rsync: send_files failed to open "/data/CDR/inocs/sms/cbs_cdr_sms_20210222_601_101_248050.add": Permission denied (13)
Permission on these files:
-rw-r----- 1 inocs other 7835 Feb 23 2021 cbs_cdr_sms_20210223_601_101_248110.add
-rw-r----- 1 inocs other 8583 Feb 23 2021 cbs_cdr_sms_20210223_601_101_248112.add
Kindly advise.
Thanks,
Roshan
Best Answer
-
The 2 files are only allowed to be read by the user "inocs" and the members of group "other".
Add your ora12c user to group "other", than it should work.
Answers
-
The 2 files are only allowed to be read by the user "inocs" and the members of group "other".
Add your ora12c user to group "other", than it should work.