-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parent folder of uploaded files and folders also gets tagged #92
Comments
Bug confirmed using
|
Well the main issue is that modifying a file also applies tags. Since the parent folders also get modified (last changed and size) they also get tagged. |
It used to be different. @nickvergessen it does absolutely makes sense what you say - undeniable Vulcan logic. So technically this is not a bug but a severe limitation. |
You wouldn't want to hear me trying to sing. |
I've got the same problem - been using automated tagging with retention plugin to automatically delete files from certain folders, but now the folders themselves get removed as well. Would it be at least possible to add a filter for folders in general? |
There is a workaround to exclude folders in general: when accessing file then add tag The actual english word may differ - i translated from German. |
I can confirm the bug. Furthermore, the above mentioned workaround does not work for me.
|
I have the exact same problem as described in #87
The "fix" suggested by @nickvergessen does not really solve the problem!
I need the ability to upload folders which automatically get tagged, as well as the option to exclude the parent folder from beeing automatically tagged. There should be either be an option to exclude the parent folder, or any folder a user wishes. Im not sure how the folders to be exlcuded should be selected/defined.
File MIME type
>is not
>httpd/unix-directory
is not a real fix to this problem as it stopps the ability from folders beeing auto tagged and deleted inside the parent folder.Steps to reproduce
Expected behaviour
All files and folders which are uploaded to the parent directory called "tempdir" should be tagged with the tag "1dayRetention". But the parent directory called "tempdir" should not be tagged with the tag "1dayRetention"
tempdir/ [parentfolder]
├── project1/ [1dayRetention]
│ ├── file1.txt [1dayRetention]
│ ├── file2.txt [1dayRetention]
├── file3.txt [1dayRetention]
Actual behaviour
All files and folders which are uploaded to the parent directory called "tempdir" get tagged with the tag "1dayRetention" including the parent directory called "tempdir" itself. Which results in the deletion of the parent directory.
tempdir/ [parentfolder][1dayRetention]
├── project1/ [1dayRetention]
│ ├── file1.txt [1dayRetention]
│ ├── file2.txt [1dayRetention]
├── file3.txt [1dayRetention]
Server configuration
Operating system:
Debian 10
Web server:
Apache
Database:
MariaDB
PHP version:
7.3.11
Nextcloud version: (see Nextcloud admin page)
17.0.1
The text was updated successfully, but these errors were encountered: