Where do I find Htuser and Htgroup?

linux_basics
webserver_issue

#1

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1.
2.
3.

Expected behaviour
Tell us what should happen

Actual behaviour
Tell us what happens instead

Server configuration
Operating system: ubuntu 16.0.4
Web server:
Database: mysql
PHP version: 7
ownCloud version (see ownCloud admin page): 9.1.1
Updated from an older ownCloud or fresh install: fresh install
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): none I do have HTTPS enabled

I am looking at the hardening owncloud security and theres a script that says I need to insert my own htuser and htgroup. I tried the php.info deal and that for whatever reason did not work for me when I used the url.

Well I have looked and looked and I cannot find these values anywhere. I know where the .ocdata path is .. I just need to double check the htuser and the htgroup.

My install is /var/www/owncloud if that helps

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

No errors have been found.


#2

Hi,

on ubuntu its www-data:www-data.

But such stuff should be really asked at a community / forums dedicated to your used webserver / distro. This is nothing ownCloud related so also moved to the Miscellaneous category.


#3

oh ok sorry I thought it was owncloud related due to the guide. I think I assumed it was asking for an owncloud file with that information, guess I didnt know that it was ubuntu system related. I thought that maybe the htuser and htgroup would possibly be different than the www-data.. but it sounds like from you that its what it is.

Thanks again for the help.


#4

Check this out: https://doc.owncloud.org/server/8.0/admin_manual/installation/installation_wizard.html

And I copy/paste from there:

The HTTP user and group in Debian/Ubuntu is www-data.
The HTTP user and group in Fedora/CentOS is apache.
The HTTP user and group in Arch Linux is http.
The HTTP user in openSUSE is wwwrun, and the HTTP group is www.