I'm running Fedora 17 and I want to give several users access to files on my secondary hard drives on /run/media/haukur/. This is what I initially did:
chmod -R 755 /run/media/
But every time I turn the computer off these permissions are reset to:
ls -l /run/media/
drwxr-x---+ 4 root root 80 Jul 5 17:42 haukur
The same applies to /run/media/haukur/. I made a symbolic link in every user's home directory pointing to /run/media/haukur/ but they stop working (permission errors) all the time.
What can I do to make these changes permanent?
Edit: I solved the problem by adding the devices to /etc/fstab:
/dev/sdc1 /media/a ext4 defaults 0 0
/dev/sdb1 /media/b ext4 defaults 0 0
@reboot chmod -R 755 /run/mediain root's crontab. – donothingsuccessfully Jul 5 '12 at 18:51/rundirectory is the mount point of an in-memory filesystem (tmpfs). Whatever is in there is recreated at each boot. Given the names, the directories look like mount points. What is the output of the commandcat /proc/mounts? And plainmount? How are these filesystems mounted? – Gilles Jul 6 '12 at 1:23