Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Froxlor 0.9.32 directory permissions

Featured Replies

After I upgraded to 9.32, whenever I create a new customer the customer's web folder is not accessible. It has 750 permissions, when the customers created before have 755.

 

I changed line 138 in cron_tasks.php from 750 to 755 and it seems to have fixed the problem.

safe_exec('chmod 0750 ' . escapeshellarg($userhomedir));
safe_exec('chmod 0755 ' . escapeshellarg($userhomedir));

Has anyone else had this issue?

I think know why there is a problem :

 

I have nginx + php-fpm :

This two problems have the same question i think, it is about security :

 

1srt problem:

nginx is runing under www-data by default and i think it should not be runing under froxlorlocal

panel is runing under froxlorlocal

 

froxlorlocal is member of customer groups but not www-data and www-data can't access files.

 

2nd problem :

cron is checking the value 'Webserver user-name' and 'Webserver group-name' and changing owner and group of userdata.inc.php

I'm using puppet to control the server and configuration files. The cron should not touch this file.

 

Suggestions :

I prefer that nginx runing with www-data because it is standard. The installer froxlor should check, if possible, the owner of the webserver (not the owner of php currently running) and use it to configure the value of 'Webserver user-name' and 'Webserver group-name'.

And the cron should not touch the file userdata.inc.php

Thats not the Problem at all. Webserver runs under webserver and PHP under the corresponding user. Thats what fpm is about.

 

Just use the latest configs for libnss-mysql and youre good to go.

  • 2 weeks later...
  • Author

Yes.  I do have libnss-mysql installed.  Is there a config change I need to make when moving from 9.31 to 9.32?

Archived

This topic is now archived and is closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.