Hi FOGers!!
We have some strange issues when we upload images to the server and we don´t have find the reason of this behaivour.
The issue appears when the server try to move the image from /images/dev/abcdefg12345 directory to the destiny, the FTP can´t move the file or the directory and the destiny directory appears empty.
In the vsftpd log appears the error:
Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP command: Client "10.0.15.8", "LIST -a images"
Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP response: Client "10.0.15.8", "150 Here comes the directory listing."
Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP response: Client "10.0.15.8", "226 Directory send OK."
Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP command: Client "10.0.15.8", "RNFR /images/dev/8cec4b6xxxxx"
Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP response: Client "10.0.15.8", "550 RNFR command failed."
Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FAIL RENAME: Client "10.0.15.8", "/images/dev/8cec4b6xxxxx"
Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP command: Client "10.0.15.8", "QUIT"
Tue Oct 31 14:00:26 2023 [pid 2855049] [fogproject] FTP response: Client "10.0.15.8", "221 Goodbye."
The permissions in /images is:
drwxrwxrwx 295 fogproject apache 16384 nov 3 09:40 images
We have migrated the old server, fog 1.5.5, to the last one, fog 1.5.10, we made a fresh install but we migrated the storage from the old one to the new one. Then in /images we have a mix of owners XD:
drwxrwxrwx 2 root root 280 ago 24 10:27 aula-vc-filologia-aulavhm2-alumno3450
drwxrwxrwx 2 fogproject apache 226 jul 26 2022 aula-vc-filologia-aulavhm2-profesor
drwxrwxrwx 2 root root 280 ago 24 14:52 aula-vc-filologia-aulavhm2-profesor3450
drwxrwxrwx 2 root root 226 jul 19 12:28 aula-vc-filologia-aulavhmm-docencia
drwxrwxrwx 2 fogproject apache 226 mar 8 2023 aula-vc-filologia-aulavhmm-docencia-LTSC
drwxrwxrwx 2 root root 226 ago 25 12:36 aula-vc-filologia-aulavht1-cabina
drwxrwxrwx 2 root root 226 ago 28 09:55 aula-vc-filologia-aulavht1-profesor
drwxrwxrwx 2 fogproject apache 226 abr 29 2021 aula-vc-filologia-aulavht1-roomserver
The question is easy Who is the owner of images directories?