Hello!
I have a problem with using another directory with a web user:
I installed Nextcloud in the subdomain cloud.example.com (which means the http user is example.com in my case)
And I want to set the data dir to /data/nextcloud which is not in the vhosts file permission range.
(not in /var/www/vhosts/example.com/cloud.example.com) How can I achieve read and write access to that directory?
I chown'ed it to "example.com : psacln" (spaces not used) but it didn't work.
Do you have an idea for that ? The example.com user is created from Plesk by adding that domain.
Best Regards
Dave
I have a problem with using another directory with a web user:
I installed Nextcloud in the subdomain cloud.example.com (which means the http user is example.com in my case)
And I want to set the data dir to /data/nextcloud which is not in the vhosts file permission range.
(not in /var/www/vhosts/example.com/cloud.example.com) How can I achieve read and write access to that directory?
I chown'ed it to "example.com : psacln" (spaces not used) but it didn't work.
Do you have an idea for that ? The example.com user is created from Plesk by adding that domain.
Best Regards
Dave