Skip to content

Client rescans+downloads all the files after a encrypt-all/decrypt-all #7283

Description

@Ninos

Expected behaviour

The occ encrypt-all/decrypt-all is used to encrypt/decrypt all the files of user(s). It is mostly used when an admin want to enable/disable server-side encryption.
encrypt-all/decrypt-all only encrypts/decrypts the files but they shall be seen has unchanged by the user (modified date).
So after a encrypt-all/decrypt-all, the client shall not reload all the files.

Actual behaviour

After having occ encrypt-all/decrypt-all users, the client reloads ALL the files, the files modified date is changed.

Steps to reproduce

  1. Files decrypted/encrypted on the server
  2. Start a procedure to encrypt-all/decrypt-all via shell
  3. When encrypt-all/decrypt-all is finished, client starts to sync ALL the files, whatever they have changed or not.

Server configuration

Operating system: DEBIAN 8
Web server: APACHE 2
Database: MYSQL
PHP version: 7.0
nextcloud version: 12

Storage backend (external storage): NONE

PS: This issue was copied from owncloud/client#5686

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions