After upgrading CageFS to latest beta I didn notice, that securelinks functionality generated .htaccess files all over the server at nightly upcp run.[br]It was a big mistake enabling this by default as all the sites on the server was down because of it.[br]Additional problem is that using cagefsctl --securelinks-delete is throwing error:[br]
[br][br]And the question is, will
prevent generating this .htaccesses and index.htmls when
command is issued?[br]And above error - its a bug or its problem noticed only on my server?[br][br]Anyway, I really like Cloudlinux and CageFS idea. Im using it since few days and I really like it
Code:
[br]Proceed: /root/.cpanel/datastore/[br]Proceed: /root/.matplotlib/[br]Proceed: /lost+found/[br]Proceed: /backup/[br]Proceed: /home2/[br]Proceed: /home2/xxxxx/[br]Proceed: /home2/xxxxx/.cagefs.screen/[br]Proceed: /home2/xxxxx/.cagefs.tmp/[br]Proceed: /home2/xxxxx/.cagefs.cron/[br]Proceed: /home2/xxxxx/public_html/[br]Traceback (most recent call last):[br] File "/usr/share/cagefs-plugins/create-htaccess.py", line 224, in [br] process(delete = True)[br] File "/usr/share/cagefs-plugins/create-htaccess.py", line 181, in process[br] DeleteFileHtaccessInDirs(path+infile+/, deny_dirs_short)[br] File "/usr/share/cagefs-plugins/create-htaccess.py", line 149, in DeleteFileHtaccessInDirs[br] DeleteFileHtaccessInDirs(need_file, dirs)[br] File "/usr/share/cagefs-plugins/create-htaccess.py", line 149, in DeleteFileHtaccessInDirs[br] DeleteFileHtaccessInDirs(need_file, dirs)[br] File "/usr/share/cagefs-plugins/create-htaccess.py", line 143, in DeleteFileHtaccessInDirs[br] if lines[0].strip()==#CageFS autogenerated file:[br]IndexError: list index out of range[br]Error: /usr/share/cagefs-plugins/create-htaccess.py[br]
Code:
cagefsctl --securelinks-disable
Code:
cagefsctl --update
Comment