You don't have permission to upload or create files here?

Steps to reproduce

  1. I have (as admin) added an “External Storage” to a local folder (/var/new/downloads) and made available for admin and user.
  2. As user (or admin) I don’t have permission to create files here

Expected behaviour

I wish to upload files here.

Actual behaviour

I can’t upload files here.

Server configuration

Operating system: Ubuntu 20.04LTS

Web server: nginx 1.18.0

ownCloud version: 10.10.0 (stable)

The folder has owner and group set to “tony”, however I added www-data user to group “tony”, and the folder has 775 permission.
After modifying the group I restarted nginx.

What should I do to get permission to create files in this directory, without having to change its owner to “www-data”?

Does nginx have path restrictions like Apache? If I wanted to use a folder with the path you specified, I would have to update the Apache configuration to allow access to that path.

If you added the user to the group AFTER the initial scan, you might need to re-scan in order to update the permissions. Running occ files:scan should fix the permissions.

1 Like

Thanks @jvillafanez: that was the exact reason. :slight_smile:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.