upload a video to the server from a mobile phone under IOS
delete the video from the application under IOS
Why the directories are not deleted on the piwigo server?
There are still there, even empty?
Thank you
$ ls -lalrtR 11
11:
total 16
drwxrwxrwx 5 www-data www-data 4096 Nov 3 11:35 ..
drwxrwxrwx 4 www-data www-data 4096 Nov 7 08:41 .
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 07
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 03
11/07:
total 16
-rw-rw-rw- 1 www-data www-data 12 Nov 7 08:41 index.htm
drwxrwxrwx 4 www-data www-data 4096 Nov 7 08:41 ..
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 .
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:12 pwg_representative
11/07/pwg_representative:
total 12
-rw-rw-rw- 1 www-data www-data 12 Nov 7 08:41 index.htm
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:12 .
11/03:
total 16
-rw-rw-rw- 1 www-data www-data 12 Nov 3 11:35 index.htm
drwxrwxrwx 4 www-data www-data 4096 Nov 7 08:41 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:34 pwg_representative
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 .
11/03/pwg_representative:
total 12
-rw-rw-rw- 1 www-data www-data 12 Nov 3 11:35 index.htm
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:34 .
IOS : mobile apple 7 plus with latest testflight version 3.1 (540
Piwigo server : 13.8.0 under raspberry pi 4 Model B Rev 1.4 under OS Raspbian GNU/Linux 11 (bullseye) aarch64
Hi,
- upload a video to the server from a mobile phone under IOS
- delete the video from the application under IOS
Why the directories are not deleted on the piwigo server?
There are still there, even empty?
Thank you
```
$ ls -lalrtR 11
11:
total 16
drwxrwxrwx 5 www-data www-data 4096 Nov 3 11:35 ..
drwxrwxrwx 4 www-data www-data 4096 Nov 7 08:41 .
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 07
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 03
11/07:
total 16
-rw-rw-rw- 1 www-data www-data 12 Nov 7 08:41 index.htm
drwxrwxrwx 4 www-data www-data 4096 Nov 7 08:41 ..
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 .
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:12 pwg_representative
11/07/pwg_representative:
total 12
-rw-rw-rw- 1 www-data www-data 12 Nov 7 08:41 index.htm
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:12 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:12 .
11/03:
total 16
-rw-rw-rw- 1 www-data www-data 12 Nov 3 11:35 index.htm
drwxrwxrwx 4 www-data www-data 4096 Nov 7 08:41 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:34 pwg_representative
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 .
11/03/pwg_representative:
total 12
-rw-rw-rw- 1 www-data www-data 12 Nov 3 11:35 index.htm
drwxrwxrwx 3 www-data www-data 4096 Nov 11 14:34 ..
drwxrwxrwx 2 www-data www-data 4096 Nov 11 14:34 .
```
IOS : mobile apple 7 plus with latest testflight version 3.1 (540
Piwigo server : 13.8.0 under raspberry pi 4 Model B Rev 1.4 under OS Raspbian GNU/Linux 11 (bullseye) aarch64
<!-- github-sync-id:1988955550 -->
Hi @plegall,
Ok works as design
Hhowever:
-create a directory when it is needed is perfect, of course,
-not delete a directory when it is no more needed: why?
From my point of view, this can be an enhancement to avoid empty directories otherwise this is dirty.
kr
Hi @plegall,
Ok works as design
Hhowever:
-create a directory when it is needed is perfect, of course,
-not delete a directory when it is no more needed: why?
From my point of view, this can be an enhancement to avoid empty directories otherwise this is dirty.
kr
<!-- github-comment-id:1810343020 -->
Unless you can prove there is a security issue by not deleting the remaining empty directory, I don't see the point of doing this. I don't feel dirty at all when I don't remove an empty directory.
Unless you can prove there is a security issue by not deleting the remaining empty directory, I don't see the point of doing this. I don't feel dirty at all when I don't remove an empty directory.
<!-- github-comment-id:1818770677 -->
ok - I think like a linux guy not a windows one. If a directory is not used and empty, I delete it, but I understand your point of view.
ok - I think like a linux guy not a windows one. If a directory is not used and empty, I delete it, but I understand your point of view.
<!-- github-comment-id:1819735198 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi,
Why the directories are not deleted on the piwigo server?
There are still there, even empty?
Thank you
IOS : mobile apple 7 plus with latest testflight version 3.1 (540
Piwigo server : 13.8.0 under raspberry pi 4 Model B Rev 1.4 under OS Raspbian GNU/Linux 11 (bullseye) aarch64
Perfectly normal. I mean it's exactly the way Piwigo is coded to behave.
Are a few empty directories a problem?
Hi @plegall,
Ok works as design
Hhowever:
-create a directory when it is needed is perfect, of course,
-not delete a directory when it is no more needed: why?
From my point of view, this can be an enhancement to avoid empty directories otherwise this is dirty.
kr
Unless you can prove there is a security issue by not deleting the remaining empty directory, I don't see the point of doing this. I don't feel dirty at all when I don't remove an empty directory.
ok - I think like a linux guy not a windows one. If a directory is not used and empty, I delete it, but I understand your point of view.
closed
I haven't used Windows for maybe 17 years and I still don't see the problem of an empty directory ;-)