Forum Stats

  • 3,815,709 Users
  • 2,259,070 Discussions
  • 7,893,213 Comments

Discussions

rsync permission issue

Robeen
Robeen Member Posts: 2,175 Silver Badge

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

Answers