Temp files of backups are not deleted
Posted: Tue Apr 26, 2016 9:43 am
In one of my servers I have only enabled FTP Backups but I have a problem the tmp files are not deleted after the upload neither the backup.xx-xx-xx.tar.
I have the same configuration in other servers and works fine.
I think the problem can be related with file permissions/owner. Below I put the ls -lah response
As you can check the admin.2016-04-26.tar is owner by root and I think that should be owned by admin, maybe the solution for this problem is simples but I struggling with it for about a week.
Any tip?
I have the same configuration in other servers and works fine.
I think the problem can be related with file permissions/owner. Below I put the ls -lah response
Code: Select all
[root@mail backup]# ls -lah
total 2.9G
drwx--x--x. 3 backup backup 4.0K Apr 26 05:19 .
drwxr-xr-x. 5 root root 4.0K Oct 12 2015 ..
-rw-r--r-- 1 root root 2.9G Apr 26 05:22 admin.2016-04-26.tar
-rw-r--r-- 1 backup backup 17 Apr 23 11:38 .bash_logout
-rw-r--r-- 1 backup backup 183 Apr 23 11:38 .bash_profile
-rw-r--r-- 1 backup backup 131 Apr 23 11:39 .bashrc
drwx------ 10 root root 4.0K Apr 26 05:19 tmp.gob182weyH
Any tip?