User FTP can't remove backup downloaded

Discussion in 'Server Operation' started by rodinux, May 27, 2026 at 5:22 PM.

  1. rodinux

    rodinux New Member

    If a user do manual backup from the interface and then download the backup, a copy of the backup which is first saved in the folder `/var/backup/webXX/manual_xxxx.gz` is made on the folder `/var/www/client/clientXX/webXX/backup/manual_xxxx.gz` and a user FTP can download it. But he can't remove it.

    The client cannot remove a backup from the interface, he can remove a backup so the backup `/var/backup/webXX/manual_xxxx.gz` will be removed but it will not remove the one downloaded in /var/www/client/clientXX/webXX/backup/manual_xxxx.gz`.

    I have try also doing a `chmod 755` in the file `/var/www/client/clientXX/webXX/backup/manual_xxxx.gz` but the user FTP could not removed it.
    It seems a cron removed them after a while (every weeks ?)

    I have for example this type of files

    Code:
    ls -ll /var/www/pp.example.com/backup/
    total 6114864
    drwxr-x---  2 root  client21       4096 27 mai   16:16 ./
    drwxr-xr-x 12 root  root           4096 30 juin   2025 ../
    -rw-r-----  1 web44 client21 6261605863 27 mai   16:17 web44_2026-05-27_00-50.tar.gz
    
    We are using a ISPConfig with last release 3.3.0p3
    with a debian 12 Bullseye
     

Share This Page