You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a password protected folder is deleted from inside either the hidden file .PasswordProtectfolders or the hidden file .space, the original password protected folder is not deleted. Also another password protected folder with the same name can be made even though the folder is deleted from those hidden files.
Steps to reproduce
Admin enables the option Show hidden files
Admin creates a new password protected folder main-folder
Admin navigates to ".PasswordProtectedFolders → projects → Personal → main-folder"
Admin deletes main-folder
Admin navigates back to Files
Admin tries to create a new password protected folder main-folder
Expected behavior
The password protected folder main-folder in root is deleted too.
Actual behavior
The password protected folder main-folder in root is not deleted and folder with same name can be created again.
Setup
ownCloud Web UI 11.3.0
Infinite Scale 7.1.0+2e8bc225e Community
Additional context
This same behavior exists in the Project Space too.
Screencast.from.2025-03-10.16-48-20.webm
Confused if this is a feature.
The text was updated successfully, but these errors were encountered:
The only possible solution to this that I can think of is using the same approach as when deleting the file, just reversing it. Meaning:
flowchart TD
A[Folder is deleted] --> B{Is folder inside .PasswordProtectedFolders?}
B -->|No| C[End]
B -->|Yes| D[Construct path to .psec filebased on folder's path]
D --> E{.psec file found?}
E -->|No| F[End]
E -->|Yes| G[Delete .psec file]
G --> H[End]
Describe the bug
When a password protected folder is deleted from inside either the hidden file
.PasswordProtectfolders
or the hidden file.space
, the original password protected folder is not deleted. Also another password protected folder with the same name can be made even though the folder is deleted from those hidden files.Steps to reproduce
Show hidden files
main-folder
main-folder
Files
main-folder
Expected behavior
The password protected folder
main-folder
in root is deleted too.Actual behavior
The password protected folder
main-folder
in root is not deleted and folder with same name can be created again.Setup
ownCloud Web UI 11.3.0
Infinite Scale 7.1.0+2e8bc225e Community
Additional context
This same behavior exists in the
Project Space
too.Screencast.from.2025-03-10.16-48-20.webm
Confused if this is a feature.
The text was updated successfully, but these errors were encountered: