Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File ownership in /tmp/lshttpd/ is wrong after changing user/group #319

Open
xolyu opened this issue Jun 11, 2022 · 0 comments
Open

File ownership in /tmp/lshttpd/ is wrong after changing user/group #319

xolyu opened this issue Jun 11, 2022 · 0 comments

Comments

@xolyu
Copy link

xolyu commented Jun 11, 2022

I installed OpenLiteSpeed, changed run user and group to lsws (which I created first) and did a reinstall, user and group ownership seems to be applied correctly to files in $SERVER_ROOT. But not so to files in /tmp/lshttpd/.

The server's error log showed me:

Failed to open the real time report: /tmp/lshttpd/.rtreport!

The content of /tmp/lshttpd/ looks like:

drwxr-xr-x  3 lsws   lsws     10 Jun 11 01:32 ./
drwxrwxrwt 14 root   root     40 Jun 11 01:32 ../
-rw-r--r--  1 root   root      7 Jun 11 01:32 lshttpd.pid
srwxr-xr-x  1 lsws   lsws      0 Jun 11 01:32 lsphp.sock=
srwxr-xr-x  1 lsws   lsws      0 Jun 11 01:32 lsphp.sock.100000=
-rw-r--r--  1 lsws   lsws     32 Jun 11 01:32 lsphp.sock.100000.pid
-rw-r--r--  1 lsws   lsws     32 Jun 11 01:32 lsphp.sock.pid
-rw-r--r--  1 nobody nogroup 910 Jun 10 00:53 .rtreport
-rw-r--r--  1 root   nogroup 233 Jun 11 01:32 .status
drwx------  2 lsws   lsws      2 Jun 11 01:32 swap/

There are still files with the old owner nobody/nogroup.

I think: Either the ownership of the files should be changed correctly or the folder should be completely emptied during the reinstall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant