[SOLVED] 400 Bad Request EACCES: Permission denied

RobFantini

Famous Member
May 24, 2012
2,022
107
133
Boston,Mass
in /var/log/syslog , and when trying to access some datastores, Error 400 cam up. :
Code:
Jul 20 17:43:08 pve-maint proxmox-backup-proxy[22573]: GET /api2/json/admin/datastore/LtBackups2/status: 400 Bad Request: [client [::ffff:10.1.80.20]:3236] EACCES: Permission denied
Jul 20 17:43:08 pve-maint pvestatd[4208]: proxmox-backup-client failed: Error: HTTP Error 400 Bad Request: EACCES: Permission denied

that was caused by incorrect directory permissions. rsync from usb left this:
Code:
 ll -d /fbc-backups*
drwxr-xr-x  4 root root  4 Jul 18 12:44 /fbc-backups/
drwx------ 10 root root 30 Jul 17 17:15 /fbc-backups2/

this fixed so we'll add to our get usb script
Code:
chmod 755 /fbc-backups2
 
Last edited:
I have this same issue. This is the perms I have before I mount


drwxr-xr-x 4 root root 4096 Feb 29 16:01 .
drwxr-xr-x 18 root root 4096 Feb 29 10:37 ..
drwxr-xr-x 3 root root 4096 Feb 29 15:49 datastore
drwxr-xr-x 2 root root 4096 Feb 29 16:03 s3-bucket

When I manually mount this is the perms. This is my mount command: "s3fs mpproxmox-backup /mnt/s3-bucket/ -o passwd_file=/etc/passwd-s3fs -o url=https://s3.amazonaws.com"


drwxr-xr-x 4 root root 4096 Feb 29 16:01 .
drwxr-xr-x 18 root root 4096 Feb 29 10:37 ..
drwxr-xr-x 3 root root 4096 Feb 29 15:49 datastore
drwx------ 1 root root 0 Dec 31 1969 s3-bucket
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!