You are not logged in.
I'm trying to make my ~/.cache & ~/Downloads directories a RAMFS to speed things up and make keep my downloads folder clean.
The issue is that the file-system always assigns ownership to root:root.
Here is the relevant part of my fstab:
#Cache RAMDisk
ramfs /home/user/.cache ramfs uid=1000,gid=1000,mode=750,noexec,nodev 0 0
#Downloads
ramfs /home/user/Downloads ramfs uid=1000,gid=1000,mode=750,noexec,nodev 0 0From "ls -l -a ~/ | grep Downloads"
drwxr-x--- 2 root root 0 Feb 24 12:06 DownloadsP.S. GNOME thinks that that ~/Downloads is a removable device for some weird reason as well.
Last edited by easton741 (2015-02-24 21:33:20)
Offline
$ man mount
[...]
Mount options for ramfs
Ramfs is a memory based filesystem. Mount it and you have it. Unmount it and it is gone.
Present since Linux 2.3.99pre4. There are no mount options.Try a tmpfs instead, it supports gid and uid.
Last edited by WorMzy (2015-02-24 19:29:30)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Many thanks. I'm almost embarrassed at how simple a fix that was. ![]()
Offline