Anil Wadghule
unread,Oct 15, 2019, 10:44:06 PM10/15/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to packe...@googlegroups.com
When I have following config
{
"type": "shell",
"inline":[
"sudo echo '$PreserveFQDN on' >> /etc/rsyslog.d/server.conf”,
]
} ] }
I get this error
==> amazon-ebs: /tmp/script_1019.sh: 27: /tmp/script_1019.sh: cannot create /etc/rsyslog.d/server.conf: Permission denied
I know sudo mv a local file would fix that, but I don’t want to copy whole server.conf locally and move.
cannot create /etc/rsyslog.d/server.conf: Permission denied
Thanks,
Anil