Dolphin states "The file or folder /mnt/snapshotsbackup does not exist." when everything else says otherwise

Background:
Arch Linux
KDE Plasma 6.5.4
Wayland

This issue occurs when I have tried to mount any SSD or HDD. I go through the entire process of mounting the drive, creating the file directory and the file system (ext4), I add it to the fstab, every step which you take to add a drive. Whenever i go to view said drive in dolphin, it says that it does not exist and then it gives me an option to “create missing folder”.
Bizarrely enough
Now the weirder behavior begins.
For the current issue, I have installed timeshift for snapshots and wanted to place them onto a separate drive (this is an HDD) for backup purposes. Timeshift recognizes the harddrive and the singular partition that i put onto it and allows me to use it for the snapshots. I created a snapshot but I have not attempted to load it for testing out of fear that something will get corrupted due to the issue at hand. Fastfetch says that the HDD is being used and has data written to it in a size that seems very much akin to what timeshift should take.

Now for when I attempted to add an SSD, I ran into the same exact issue and i played around with it a bit. I tried clicking “Create missing folder” and it created a folder and i could drag stuff there, however, upon shutting down the pc, everything that is in that folder vanishes and gets deleted and I am prompted again to “Create missing folder”.

I have spent 5 days now trying to figure out how to fix this issue and I have scoured the internet and haven’t found anyone with a similar problem except for 1 guy on reddit with a steamdeck and nothing in the comments were helpful.

I have tried changing the permissions to allow for read and write and the terminal says the command was executed successfully to my knowledge. I have also tried going through the process of remounting the drive and everything and starting fresh by deleting the partitions to no avail.

for dolphin you don’t need to go thru all those steps (arch trauma ≈ windows trauma)

just click on the system tray icon for disks and devices and make sure the item is check marked to automount.

if it doesn’t show up there, you have bigger problems.

I just enabled to mount all devices and the problem still persists with the backups drive, however it did mount the other SSD and it appears to work however it says i lack the permission to write into the folder and there is a folder already there called LOST+FOUND and i attempted to delete it and it says i do not have permission to delete it. It also is mounted to /run/media which I would not want, I would want it to be mounted to the mnt directory.

my automount disks show up under /media/<user>/ and i believe this is set up by the maintainers of my distro (kubuntu).

/media from my understanding is meant for more temporary drives such as a USB stick

not a ssd or hdd. either way the problem has yet to be solved

I’m also having some weird behavior like this.

I noticed that on dolphin, I can’t find the /mnt folder, even though it clearly exists in the terminal. I am sure I am in the correct location, if I open root with dolphin, and right-click to “open terminal here”, I can see that in the terminal the /mnt directory is there, but not on dolphin.

I also saw that message of “create missing folder” when trying to open a mounted HDD in dolphin.

Does anyone know what’s going on here? Could this be a dolphin bug? This is happen to me after a new install (accidentally deleted my partition table in windows’ diskpart, and decided to fresh install), so I have some fears that it could be due to improper setup or remnants of the old system, but I doubt it.

One more thing, if I create a folder in the terminal on /, I can’t see it on dolphin, and if I create a folder on / on dolphin, a message appears at the top: “Current location changed, / no longer accessible”

1 Like

Welp, I solved it… kind of.

For some reason, this issue only seems to be happening when dolphin is installed from the Discovery / Software Center (i’m using KDE plasma, the app store that comes with that). If instead of getting the flathub version from there, I install directly from pacman, it works fine.

1 Like

so if i were to uninstall dolphin and reinstall it from pacman, would there be any unforseen consequences of that; or would it work just normally and as intended

I found a “solution” but it isnt the one that i wanted. It involves mounting it to media instead of mnt. Here are the commands which I ran to achieve it:

assuming sda is drive and sda1 is the partition:

sudo umount /dev/sda1
sudo fdisk /dev/sda
delete all partitions and make a new one then write
sudo mkfs.ext4 /dev/sda1
sudo mount --mkdir /dev/sda1 /run/media//<Desired_Name>
sudo chown -R : /run/media//<Desired_Name>

With the Flatpak version, it may be possible to resolve this by giving Dolphin the appropriate directory access permissions:

  • In the System Settings app, go to Application Permissions
  • Select Dolphin from the app list, and click “Manage Flatpak Settings” at the top right of the window
  • In the “Filesystem Access” section of the settings, click “Add New”, and grant access to /mnt/snapshotsbackup or perhaps the whole of /mnt if you prefer.
    • Alternatively, you might want to give the “All system files” permission to Dolphin if you’re using it as your main file manager.
2 Likes

Flatpack/Snap/container packages can add restriction to what application can do, this includes what they can see of your file system.

2 Likes

For me, it worked as intended.

this is what fixed it. I uninstalled from the discover center on KDE and installed it from pacman and it works flawlessly now

1 Like