<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[HyperForum — I'm getting a lot of directory permission difference issue]]></title>
		<link>https://forums.hyperbola.info/viewtopic.php?id=788</link>
		<atom:link href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=788&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in I'm getting a lot of directory permission difference issue.]]></description>
		<lastBuildDate>Fri, 23 Dec 2022 14:19:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: I'm getting a lot of directory permission difference issue]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=5348#p5348</link>
			<description><![CDATA[<p>Besides: Sorry, unkind from me. <strong>Welcome here!</strong><br />Have a nice time using, asking and more.</p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 23 Dec 2022 14:19:09 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=5348#p5348</guid>
		</item>
		<item>
			<title><![CDATA[Re: I'm getting a lot of directory permission difference issue]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=5347#p5347</link>
			<description><![CDATA[<p>Okay, I think that&#039;s need a clearing. No problem for sure: First things first. You won&#039;t have any access as mentioned towards specific folders beyond /usr/bin as &quot;normal&quot; user therefore. So the group <strong>wheel</strong> is a good starting point. Sidenote: If you want gaming, you should add yourself to the group <strong>games</strong>:</p><div class="codebox"><pre><code>doas usermod -aG games [USER]</code></pre></div><p>You don&#039;t need <strong>doas</strong> for su. Just type into <strong>su</strong> direct.</p><p>For starting a service:</p><div class="codebox"><pre><code>doas rc-service sndiod start</code></pre></div><p>You should also make yourself member of the group <strong>power</strong> (look at <strong>doas.conf</strong> therefore.</p><div class="codebox"><pre><code>doas usermod -aG power [USERNAME]</code></pre></div><p>With this you can execute without entering your password:</p><div class="codebox"><pre><code>doas reboot
doas poweroff</code></pre></div><p>Please ask more for sure if something is unclear. I know that&#039;s quite different and a harsh startup. But don&#039;t give up for sure: It&#039;s quite a thing because you can build your own system and have it working you want as YOU are in command. <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 23 Dec 2022 12:47:36 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=5347#p5347</guid>
		</item>
		<item>
			<title><![CDATA[Re: I'm getting a lot of directory permission difference issue]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=5346#p5346</link>
			<description><![CDATA[<p>[castor@POTATOPC ~]$ groups<br />wheel network video audio storage power castor<br />[castor@POTATOPC ~]$ openrc<br />bash: openrc: command not found<br />[castor@POTATOPC ~]$ cat /etc/doas.conf<br />cat: /etc/doas.conf: Permission denied<br />[castor@POTATOPC ~]$ doas cat /etc/doas.conf<br />doas (castor@POTATOPC) password:<br />## doas configuration file.<br />##<br />## See the doas man page for the details on how to write a configuration file.<br />##</p><p>## Allow members of group wheel to execute any command<br />permit persist :wheel</p><p>## Same thing without a password<br />#permit nopass :wheel</p><p>## Allow tedu to run procmap as root without a password<br />#permit nopass tedu as root cmd /usr/sbin/procmap</p><p>## Allow members of group power to execute power commands<br />permit nopass :power cmd openrc-shutdown<br />permit nopass :power cmd runit-halt<br />permit nopass :power cmd runit-shutdown<br />permit nopass :power cmd halt<br />permit nopass :power cmd poweroff<br />permit nopass :power cmd reboot<br />permit nopass :power cmd shutdown</p><p>## Allow root user to execute any command<br />permit nopass root<br />[castor@POTATOPC ~]$ doas su<br />sh-5.1# openrc<br /> * Caching service dependencies ...&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[ ok ]<br /> * Starting wpa_supplicant ...&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [ ok ]<br /> * /run/sndiod: creating directory<br /> * Starting sndiod ...&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [ ok ]<br />sh-5.1# exit<br />exit<br />[castor@POTATOPC ~]$ poweroff<br />bash: poweroff: command not found<br />[castor@POTATOPC ~]$ openrc-shutdown<br />bash: openrc-shutdown: command not found<br />[castor@POTATOPC ~]$ </p><p>And if I run openrc-shutdown as root it executes.<br />I guess you understood what am i tryinna to say?<br />I mean is hyperbola made this way; Am i being confused here or if it is an actual issue?</p>]]></description>
			<author><![CDATA[null@example.com (lailame)]]></author>
			<pubDate>Fri, 23 Dec 2022 11:46:02 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=5346#p5346</guid>
		</item>
		<item>
			<title><![CDATA[Re: I'm getting a lot of directory permission difference issue]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=5345#p5345</link>
			<description><![CDATA[<p>The system is quite more strict towards filesystem and permissions. So have you checked the groups your user is into?<br />When you want to execute commands with root-privileges you need to look closer into <strong>/etc/doas.conf</strong>. Also Artix GNU/Linux and others use other ways approaching FHS. So you need for sure to execute commands with root-access or into /sbin and /usr/sbin with:</p><div class="codebox"><pre><code>doas [YOUR COMMAND]</code></pre></div><p>For example you need to be member within the group &quot;wheel&quot; for better root-access. <img src="https://forums.hyperbola.info/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (throgh)]]></author>
			<pubDate>Fri, 23 Dec 2022 11:32:23 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=5345#p5345</guid>
		</item>
		<item>
			<title><![CDATA[I'm getting a lot of directory permission difference issue]]></title>
			<link>https://forums.hyperbola.info/viewtopic.php?pid=5344#p5344</link>
			<description><![CDATA[<p>So, I just switched to hyperbola from artix and I&#039;m experiencing a lot of directory permission issues.</p><p>I installed Milky Way v0.4.2 over LVM on LUKS.<br />I got some of then even when running the `pacstrap` during installation.<br />For eg: </p><p>$ doas pacman -S fuse2<br />resolving dependencies...<br />looking for conflicting packages...</p><p>Package (2)&nbsp; &nbsp; &nbsp; &nbsp; New Version&nbsp; Net Change</p><p>extra/fuse-common&nbsp; 3.10.3-2&nbsp; &nbsp; &nbsp; &nbsp;0.05 MiB<br />extra/fuse2&nbsp; &nbsp; &nbsp; &nbsp; 2.9.9-1&nbsp; &nbsp; &nbsp; &nbsp; 0.59 MiB</p><p>Total Installed Size:&nbsp; 0.64 MiB</p><p>:: Proceed with installation? [Y/n] y<br />(2/2) checking keys in keyring&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[----------------------------------------------------------------------] 100%<br />(2/2) checking package integrity&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[----------------------------------------------------------------------] 100%<br />(2/2) loading package files&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [----------------------------------------------------------------------] 100%<br />(2/2) checking for file conflicts&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [----------------------------------------------------------------------] 100%<br />(2/2) checking available disk space&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [----------------------------------------------------------------------] 100%<br />:: Processing package changes...<br />(1/2) installing fuse-common&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[----------------------------------------------------------------------] 100%<br />(2/2) installing fuse2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[----------------------------------------------------------------------] 100%<br />warning: directory permissions differ on /sbin/<br /><strong>filesystem: 750&nbsp; package: 755</strong><br />:: Running post-transaction hooks...<br />(1/1) Displaying hyperrc service help ...<br />&nbsp; &nbsp; &nbsp; &nbsp; ==&gt; Add a service to runlevel:<br />&nbsp; &nbsp; &nbsp; &nbsp; rc-update add &lt;service&gt; &lt;runlevel&gt;<br />$ </p><p>Also I couldn&#039;t run `openrc` + many other commands as normal user?</p>]]></description>
			<author><![CDATA[null@example.com (lailame)]]></author>
			<pubDate>Fri, 23 Dec 2022 11:09:13 +0000</pubDate>
			<guid>https://forums.hyperbola.info/viewtopic.php?pid=5344#p5344</guid>
		</item>
	</channel>
</rss>
