Questions tagged [fhs]

The Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Linux distributions.

See https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

11 questions
6
votes
2 answers

Is my /var directory OK, since /var/run isn't a symlink?

I am running Ubuntu 18.04. When I run: ls -la /var I get the following: drwxr-xr-x 10 root root 4096 Jan 2 15:46 . drwxr-xr-x 27 root root 4096 Jan 15 06:25 .. drwxr-xr-x 10 root root 4096 Jan 6 06:15 cache drwxrwxrwt 2 root root 4096…
ammcom
  • 183
6
votes
2 answers

What's the most appropriate directory where to place development software shared between users?

For sharing data files and directories among users within the same machine, the /srv directory was recommended here: What's the most appropriate directory where to place files shared between users? I am assuming this is still valid or recommendded…
5
votes
1 answer

Why /bin/systemctl?

According to the system experts, the correct location of systemctl is /usr/bin/systemctl: https://lists.freedesktop.org/archives/systemd-devel/2019-August/043224.html Why does Ubuntu use /bin/systemctl? Related:…
guettli
  • 1,765
3
votes
1 answer

What is the best place to mount a permanent Windows share in Kubuntu?

What is the best place to mount a permanent Windows share in Kubuntu? So that it meets the standards. Avoiding high usage of CPU and network if akonadi try to index it. Showing better in file explorer like Dolphing. ... In short, make it more…
3
votes
1 answer

Why suddenly appears mounted the /media/username/disk?

For Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy Just today, few minutes ago through the Dock, I did do realize that was mounted the /media/username/disk location with the following…
2
votes
1 answer

Are system packages installed into /usr allowed to be broken by source installations into /usr/local?

My /usr/bin/vlc binary was broken after installing vlc from source into /usr/local prefix. Based on my experience installations into /usr/local didn't affect binaries /usr/bin/[binary], but maybe that was just by accident. Afaik the effect of a…
2
votes
1 answer

Untar to /usr/local fails - where and how to install sdks / libraries - here flutter sdk

I am new to Linux / Ubuntu and want to install the flutter sdk and their docs recommend Create a folder where you can install Flutter. Consider creating a directory at ~/development/. Extract the file into the directory you want to store the…
1
vote
1 answer

Server fails to boot due to a missing directory

Some team in my company messed up with the /lib directory and rebooted the server. As a result, the following error is presented. As a result, I booted up from a live usb-key to an Ubuntu desktop version to try and fix the issue and to avoid a…
1
vote
2 answers

Why is ifconfig in /sbin directory?

I'm a little concerned about the existance of ifconfig command in /sbin directory. I don't really understand the main purpose of /sbin directory and the lack of the root privilege of those commands in that directory. For example, xxxx@Jacks:~$ l…
J. Doe
  • 105
0
votes
1 answer

snappy filesystem layout?

Is there a way for an ubuntu snap to provide files in the FHS filesystem hierarchy, e.g. binaries in /usr/bin, package data in /usr/share/, configuration files in /etc ? If not, what is the best practice to use such resources provided by a…
0
votes
0 answers

Why the CD access in Ubuntu Server is different than expected according with FHS?

About to get access to a CD through the terminal - with Virtual Box working with Ubuntu Desktop and Server, when the Guest Additions .iso file is inserted through: Devices -> Insert Guest Additions CD image For the Desktop environment its access…