occ cannot be run with Nexcloud 32 #48

Closed
opened 2025-10-25 15:15:36 +02:00 by Vloeck · 3 comments
Contributor

in Nextcloud 32 it appears that occ cannot be run anymore, because the user has no read rights, it is missing o+r, but has o+x
or the owner is wrong and should be www-data

$ sudo occ
Could not open input file: /var/www/nextcloud/occ
$ ls -l /var/www/nextcloud/
insgesamt 1284
(...)
-rwxr-x--x  1 root     root         596 27. Sep 09:50 occ
(...)
in Nextcloud 32 it appears that occ cannot be run anymore, because the user has no read rights, it is missing o+r, but has o+x or the owner is wrong and should be www-data ``` $ sudo occ Could not open input file: /var/www/nextcloud/occ ``` ``` $ ls -l /var/www/nextcloud/ insgesamt 1284 (...) -rwxr-x--x 1 root root 596 27. Sep 09:50 occ (...) ```
Contributor

Hello,

could you please check if the current nextcloud packages still have the problem? I can run occ without problems.

Best regards,

Jan

Hello, could you please check if the current nextcloud packages still have the problem? I can run occ without problems. Best regards, Jan
Owner

I find permission problem, working on fix

I find permission problem, working on fix
Owner

Fixed

Fixed
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ijurisic/nextcloud-deb#48