<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[HyperForum — I'm getting a lot of directory permission difference issue]]></title>
	<link rel="self" href="https://forums.hyperbola.info/extern.php?action=feed&amp;tid=788&amp;type=atom" />
	<updated>2022-12-23T14:19:09Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.hyperbola.info/viewtopic.php?id=788</id>
		<entry>
			<title type="html"><![CDATA[Re: I'm getting a lot of directory permission difference issue]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5348#p5348" />
			<content type="html"><![CDATA[<p>Besides: Sorry, unkind from me. <strong>Welcome here!</strong><br />Have a nice time using, asking and more.</p>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2022-12-23T14:19:09Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5348#p5348</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I'm getting a lot of directory permission difference issue]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5347#p5347" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2022-12-23T12:47:36Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5347#p5347</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I'm getting a lot of directory permission difference issue]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5346#p5346" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[lailame]]></name>
			</author>
			<updated>2022-12-23T11:46:02Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5346#p5346</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: I'm getting a lot of directory permission difference issue]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5345#p5345" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[throgh]]></name>
				<uri>https://forums.hyperbola.info/profile.php?id=347</uri>
			</author>
			<updated>2022-12-23T11:32:23Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5345#p5345</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[I'm getting a lot of directory permission difference issue]]></title>
			<link rel="alternate" href="https://forums.hyperbola.info/viewtopic.php?pid=5344#p5344" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[lailame]]></name>
			</author>
			<updated>2022-12-23T11:09:13Z</updated>
			<id>https://forums.hyperbola.info/viewtopic.php?pid=5344#p5344</id>
		</entry>
</feed>
