dmt
9 October 2022 20:50
2
ckosedag:
/dev/sda1
Is a device file, so you don’t chown/chmod it. You chown/chmod the mountpoint.
sudo chown $USER:$USER /run/media/caner/db5e4d93-0478-4aab-b34e-cea7b62ff3e7
/run is a temporary filesystem, it’s a place where software can put stuff without affecting the rest of the system. You should mount it elsewhere using fstab or systemd unit files.
Difficulty: ★★★☆☆
Note: This post is meant as a tutorial. Please do not post on this thread regarding any problems you’re having with permissions, but start a new thread instead. Thank you.
PREAMBLE: THE HISTORICAL BACKGROUND
If you are new to the world of GNU/Linux ─ and especially if you come from the Microsoft Windows ecosystem ─ then you will undoubtedly have already noticed that GNU/Linux handles permissions and storage volumes quite differently from what you might be used to …
Difficulty: ★★☆☆☆
1. INTRODUCTION
Microsoft Windows started its life as a graphical user interface on top of MS-DOS, a 16-bit single-user, single-tasking operating system that in turn originated as 86DOS, an unauthorized 16-bit rewrite (by Tim Paterson of Seattle Computer) of Digital Research’s originally 8-bit CP/M operating system. Both CP/M and MS-DOS were at the time developed for computers that did not support any other storage media than floppy disks.
Considering this legacy, Microsof…
Difficulty: ★☆☆☆☆
Disk device recognition
Manjaro uses udev (see Arch Wiki ) to load devices at boot time. The loading of devices is arbitrary and therefore you cannot predict which device will be available at a given path.
But static device names do exist and you can assign specific locations to your device and thus ensure e.g. scripts will work as expected.
What to learn
Overview of system mount units
Structure and Content of a mount unit
Mount at boot (immediate mount)
Mount on demand (m…
2 Likes