<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Permissions]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4387&amp;type=atom" />
	<updated>2021-01-12T06:17:49Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4387</id>
		<entry>
			<title type="html"><![CDATA[Re: Permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=38924#p38924" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jbbulger]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45862</uri>
			</author>
			<updated>2021-01-12T06:17:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=38924#p38924</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17825#p17825" />
			<content type="html"><![CDATA[<p>644 is sufficient for both if the user:group is webserver user (Apache).</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-09-16T09:06:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17825#p17825</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17823#p17823" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[MauriceGaillard]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18415</uri>
			</author>
			<updated>2013-09-16T04:45:21Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17823#p17823</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17800#p17800" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-09-13T20:14:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17800#p17800</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17785#p17785" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[MauriceGaillard]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18415</uri>
			</author>
			<updated>2013-09-12T18:38:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17785#p17785</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17780#p17780" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-09-12T14:35:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17780#p17780</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Permissions]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17753#p17753" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[MauriceGaillard]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18415</uri>
			</author>
			<updated>2013-09-11T18:22:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17753#p17753</id>
		</entry>
</feed>
