0

My file permission setting as following:

All files and directories rwxrwxr-x kklou kklou, including www and csp having the same settings, but only the scripts in csp can be visited.

I did study the page http://gwan.com/faq#404, but still can't solve my problem.

I tried chmod -R 2770 of all files, but didn't work.

I tried sudo ./gwan -d:kklou:kklou also, still didn't work.

What can I do next? Anyone has same problem of mine?

data-wwwis in groups of kklou and root.
root is in groups of kklou and data-www.
kklou is in groups of data-www and root.
file permission of /tmp is drwxrwxrwt root root

EDIT: I was using port: 8080. When I change to port: 80, problem gone, pages in www CAN be shown up in my browser.

When I change back to port: 8080, problem come back, i.e. the pages in www 404 not found.

Both case are using sudo ./gwan -d:kklou:kklou

Termininja
  • 6,620
  • 12
  • 48
  • 49
k.k. lou
  • 1,805
  • 2
  • 13
  • 16

1 Answers1

0

Linux permissions can be difficult to follow because of the many different features like the setuid bit, hierarchical permissions, or SELinux.

To disable SELINUX, /etc/selinux/config should list: SELINUX=disabled

This is a system configuration issue, not a G-WAN issue.

Gil
  • 3,279
  • 1
  • 15
  • 25