Changes

From SME Server
Jump to navigationJump to search
1,669 bytes added ,  06:03, 13 June 2017
Line 378: Line 378:  
  (13)Permission denied: access to /.well-known/acme-challenge/<redacted> denied
 
  (13)Permission denied: access to /.well-known/acme-challenge/<redacted> denied
 
  (13)Permission denied: access to /.well-known/acme-challenge/<redacted> denied
 
  (13)Permission denied: access to /.well-known/acme-challenge/<redacted> denied
 +
 +
You need to check the ownership and rights on ''/home/e-smith/files/ibays/Primary'' and on ''/home/e-smith/files/ibays/Primary/html''. The contrib creates a hidden working directory at ''/home/e-smith/files/ibays/Primary/html/.well-known'' and inside that directory a second directory with the following path ''/home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge''. The script creates the two new directories with the correct ownerships and rights, however, if the ownership and rights on the ibay and the html directory do not allow the script to access the new location, the challenge will fail with ''access denied''
 +
 +
use the following to check the rights:
 +
cd /home/e-smith/files/ibays
 +
then
 +
ls -l
 +
on my test server with only the Primary ibay I get the following:
 +
total 4
 +
drwxr-xr-x 5 root root 4096 Jul 25  2016 Primary
 +
 +
IF this is not what you see, you need to correct it. '''THIS MAY BREAK NON STANDARD CUSTOMIZATION OF YOUR SERVER, YOU NEED TO UNDERSTAND WHY THIS HAS BEEN CHANGED BEFORE YOU REVERSE IT'''
 +
From within ''/home/e-smith/files/ibays/'' issue the following:
 +
chown root:root Primary
 +
If the rights are not correct, issue:
 +
chmod 0755 Primary
 +
 +
Next check the html directory.
 +
cd /home/e-smith/files/ibays/Primary
 +
then
 +
ls -l
 +
on my test server I have the following
 +
[root@backupserver Primary]# ls -l
 +
total 12
 +
drwxr-s--- 2 admin shared 4096 Jul 25  2016 cgi-bin
 +
drwxr-s--- 2 admin shared 4096 Jul 25  2016 files
 +
'''drwxr-s--- 3 admin shared 4096 Jun 11 08:06 html'''
 +
 +
If this is not what you see '''FIRST READ ABOVE WARNING''' then adjust as follows
 +
chown admin:shared html
 +
If the rights are not correct, issue:
 +
chmod 2750 html
    
==Advanced Topics==
 
==Advanced Topics==
61

edits

Navigation menu