Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Holbroom

Pages: [1]
1
CentOS 7 Problems / Re: Creating FTP User Changes Perms on public_html
« on: March 04, 2020, 02:21:54 PM »
Go to Apache Rebuild

Check the current loaded modules:
 suexec_module (shared)
 suphp_module (shared

Select latest Apache version at the bottom and rebuild.
Once complete, select Webservers Conf Editor, Rebuild all vhosts.

Thank you, will give this a go when i get home, work proxy won't let me access URL's containing ports.
Thanks for the help

2
CentOS 7 Problems / Re: Creating FTP User Changes Perms on public_html
« on: March 04, 2020, 02:07:10 PM »
All the configs looks correct, which you posted.
But something else is denying access to the world when the permissions are set correctly... ie holbroom:holbroom

3
CentOS 7 Problems / Re: Creating FTP User Changes Perms on public_html
« on: March 04, 2020, 02:01:38 PM »
Read my updated post.
CWP helps you to manage your website but doesn't hand-hold you through it. In fact, some options and advice are downright risky on shared hosting environments, IMHO.

Just noticed that, thanks, I will give that a try and see what happens.

4
CentOS 7 Problems / Re: Creating FTP User Changes Perms on public_html
« on: March 04, 2020, 01:57:30 PM »
644 holbroom:nobody is insecure and 644 holbroom:holbroom is the preferred permissions.
Make sure you have selected su_exec and/or su_php in your Apache settings (assuming that is what you use).

Thanks,
I have enabled suExec by following https://wiki.centos-webpanel.com/how-to-enable-mod_suexec-with-apache
But creating a new FTP user still sets the permissions back to holbroom:holbroom and denies access to my website, it only allows access if the perms are holbroom:nobody

This is an out the box installation so shouldn't everything just work? I haven't changed anything for this not to work, if that makes sense.

5
CentOS 7 Problems / Creating FTP User Changes Perms on public_html
« on: March 04, 2020, 01:29:06 PM »
Apologies if this has already been asked but I couldn't find anything on the search.
I've recently installed Centos Panel on to Centos 7 using the install script, everything has worked fine except when you create a new FTP user via a user control panel.

As soon as you add a new FTP account, the perms changed from 644 holbroom:nobody to 644 holbroom:holbroom and causes the following message when you try browsing to the webpage

Quote
Forbidden
You don't have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe

As soon as you change the perms back to 644 holbroom:nobody the Forbidden message goes away and lets you access the website again.

Not sure what or why is causing this but unless I solve the issue, anytime any user creates a new FTP account they will be locked out of their website.

Help would be much appreciated.

Pages: [1]