<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Permissions]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=4387</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4387&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Permissions.]]></description>
		<lastBuildDate>Tue, 12 Jan 2021 06:17:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Permissions]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38924#p38924</link>
			<description><![CDATA[<p>I&#039;m trying to reconcile the advice I see on here with what I see recommended on this site:<br />https://serverfault.com/questions/345833/what-are-perfect-unix-permissions-for-usual-web-project-directories</p><p>The advice at the link above states that &quot;the user is the linux system user that the process runs under. The code of your website is run as only one user - it may be the user of your webserver (which isn&#039;t really a good thing), or it may be a user specific to your site (which is much better).&quot;</p><p>It goes on to say, &quot;A good setup will have your server run as one user (let&#039;s call this user &#039;webserver&#039;) and your dynamic scripting language run (e.g. via FastCGI) as its own user (one user per site - let&#039;s call our first user &#039;site1&#039;).&quot;</p><p>&#039;site1&#039; would be the name for the first site established with corresponding names for each successive site (site2, site3,...).</p><p>This is recommended to properly control access, with the webserver (e.g. Apache2 as &#039;www-data&#039;) grouped with site1 to provide the necessary access. This logic makes sense to me but appears to be in conflict with your recommendations. Is there a straightforward reason why the webserver should be made owner instead?</p>]]></description>
			<author><![CDATA[null@example.com (jbbulger)]]></author>
			<pubDate>Tue, 12 Jan 2021 06:17:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38924#p38924</guid>
		</item>
		<item>
			<title><![CDATA[Re: Permissions]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17825#p17825</link>
			<description><![CDATA[<p>644 is sufficient for both if the user:group is webserver user (Apache).</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 16 Sep 2013 09:06:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17825#p17825</guid>
		</item>
		<item>
			<title><![CDATA[Re: Permissions]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17823#p17823</link>
			<description><![CDATA[<p>Hi apmuthu,<br />Yes, <strong>installed_extensions.php</strong> is present in the webroot as well in each company folder. <br />After test and trials, i managed to delete some modules with the following permissions:<br />Web root installed_extensions.php / permissions : 777 / User: Apache User / Group : Apache User<br />Company folder installed_extensions.php / permissions : 666 / User: Apache User / Group : Apache User</p><p>Is this correct practise ?</p><p>Tx</p>]]></description>
			<author><![CDATA[null@example.com (MauriceGaillard)]]></author>
			<pubDate>Mon, 16 Sep 2013 04:45:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17823#p17823</guid>
		</item>
		<item>
			<title><![CDATA[Re: Permissions]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17800#p17800</link>
			<description><![CDATA[<p>Please check that there are 2 files called <strong>installed_extensions.php</strong> - one in the webroot and another in the <strong>company/#/</strong> folder.</p><p>Also check who the apache user is and what apache group it belongs to.</p><p>What Server OS are you using and is it virtualised and if so what host is it on and is it on a shared kernel (OpenVZ, etc)?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 13 Sep 2013 20:14:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17800#p17800</guid>
		</item>
		<item>
			<title><![CDATA[Re: Permissions]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17785#p17785</link>
			<description><![CDATA[<p>Tx, i did the following, but when i try to remove a extension (for example: report generator). I get the following error: Cannot open the extension setup file &#039;../installed_extensions.php&#039; for writing.<br />Yet, the permissions on that file is as follows : # ls -la<br />-rwxr--r--&nbsp; 1 ApacheUser ApacheUser&nbsp; 7294 Aug 14 22:38 installed_extensions.php*</p><p>Is this correct ?<br />Tx</p>]]></description>
			<author><![CDATA[null@example.com (MauriceGaillard)]]></author>
			<pubDate>Thu, 12 Sep 2013 18:38:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17785#p17785</guid>
		</item>
		<item>
			<title><![CDATA[Re: Permissions]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17780#p17780</link>
			<description><![CDATA[<p>Making all folders 755 and all files 644 would be okay if the owner:group is set to webserver (apache) user and group.<br />This way no 777 would be needed for any file or folder. The config.php (during install), installed_extensions.php (in webroot and in company/#/), lang/installed_languages.inc, cache/tmp files will generally get updated from time to time according to settings changed from the Web GUI.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 12 Sep 2013 14:35:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17780#p17780</guid>
		</item>
		<item>
			<title><![CDATA[Permissions]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=17753#p17753</link>
			<description><![CDATA[<p>I have set the $go_debug = 1 and i have many file permissions errors.</p><p>I have read the wiki about some folders that requires 777 permissions like company, modules, etc...<br />Then the rest is the classic web server permissions, which is files 644 and Folder 755</p><p>However, i see that for the js files the owner:group must bet set on nobody:nobody.<br />Is this right ? it seems also that the file with the inc extension needs to be belong to a certain group ??</p>]]></description>
			<author><![CDATA[null@example.com (MauriceGaillard)]]></author>
			<pubDate>Wed, 11 Sep 2013 18:22:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=17753#p17753</guid>
		</item>
	</channel>
</rss>
