How can Admin access files of other users? By web or occ?

The Basics

  • Nextcloud Server version: 31.0.6
  • Operating system and version: Debian 12
  • Web server and version: Apache 2.4.62
  • Reverse proxy and version: Nginx 1.22.1
  • PHP version: 8.2.28
  • Is this the first time you’ve seen this error? Yes
  • When did this problem seem to first start? Now
  • Installation method: not sure, what that means
  • Are you using CloudfIare, mod_security, or similar? No

Summary of the issue you are facing:

Use case: Group A creates some files and directories, Group B copies them to their place and want to work with them. Unfortunately, the permissions are not (always?) right and I want to check them as Admin.

How can Admin access the files of other users to check permissions, ownership etc. and fix them? Is it possible via web? Do I need occ?

Thank you!

hey @DekVeld

maybe this is what you’re looking for?

3 Likes

That’s very helpful, indeed! Thank you!

I do now impersonate a user of group B, and can reproduce, that the user cannot delete a file owned by them, that is in a directory, also owned by them, which the user copied from group A originally. The “delete” action is just not there. Strange.