Hi Shawn,

Thanks for the reply. Apologies for the missing information.

I have Solr 7.6 and it is installed in an AWS ec2 (Ubuntu machine)
instance. I am new to AWS. Devops team has configured it for me.

One thing I constantly notice while executing commands in ec2 instance is
that, it keeps denying command execution until I specifically insert "sudo"
at the beginning.

For example mkdir command also needs sudo at the beginning of the command
etc.

Does this also cause AccessDeniedException or am I missing something in my
curl command?

Do I need to ask devops to remove the user restrictions in AWS, though I am
not sure if there are any?

Thanks in advance.

Regards,
Salmaan





On Mon 27 Jan, 2020, 10:47 PM Shawn Heisey, <apa...@elyograg.org> wrote:

> On 1/27/2020 1:58 AM, Salmaan Rashid Syed wrote:
> > Collection: PANNA operation: backup
> > failed:java.nio.file.AccessDeniedException:
> > /opt/solr_Backup/solr-data-backup-27-01-2020/panna_backup
>
> <snip>
>
> > at java.base/java.nio.file.Files.createDirectory(Files.java:689)
>
> While trying to create a directory, Java found that it did not have
> permission to do so.  Looking at the code involved in the stacktrace,
> the problem is either that the user running Solr does not have
> permission to create a directory in
> /opt/solr_Backup/solr-data-backup-27-01-2020 or that
> /opt/solr_Backup/solr-data-backup-27-01-2020 does not exist.
>
> You haven't told us which precise version of Solr you have, so although
> I am fairly confident that I've got the correct diagnosis, I can't be
> 100 percent sure.
>
> Thanks,
> Shawn
>

Reply via email to