Re: Problem to back up docker volumes

Olivier <[email protected]>
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <[email protected]>
Diego Zuccato <[email protected]> writes:

> Try setting an explicit ACL for 'amanda' user instead of just giving 
> o+x. And check permissions on the full path: too often the problem is in 
> the permissions of an ancestor folder but you keep looking at the 
> file... Been there, done that. Too many times :(

And you were spot on.

Thank you,

Olivier

>
> Il 18/11/2021 05:06, Olivier ha scritto:
>> Hi,
>> 
>> I know it is a bit off topic, but I have a problem to back up my docker
>> volumes (.../docker/volumes):
>> 
>> sudo -u amanda amcheck -c normal puffer1000
>> 
>> Amanda Backup Client Hosts Check
>> --------------------------------
>> ERROR: puffer1000: [puffer1000: Could not access /home2/docker/volumes
>> (/home2/docker/volumes): Perm
>> ission denied]
>> 
>> I suspect it is something to do with some access control list on Linux
>> (I am more used to FreeBSD); I checked but saw nothing glaring to my
>> face:
>> 
>> on@puffer:~$ sudo getfacl /home2/docker/volumes
>> [sudo] password for on:
>> getfacl: Removing leading '/' from absolute path names
>> # file: home2/docker/volumes
>> # owner: root
>> # group: root
>> user::rwx
>> group::---
>> other::--x
>> 
>> I even tried to create a test directory, I gave it the same ACL and
>> could amcheck and amdump that test directory.
>> 
>> I must say that I am at lost here on what could be the main cause for
>> this issue. and idea or pointer will be very welcome.
>> 
>> TIA,
>> 
>> Olivier
>> 

--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.