Auto mount USB drive with permissions for all users
Posted
by
oneaustin
on Ask Ubuntu
See other posts from Ask Ubuntu
or by oneaustin
Published on 2014-08-24T21:36:38Z
Indexed on
2014/08/24
22:32 UTC
Read the original article
Hit count: 200
mount
|permissions
I have an Ubuntu 14.04 based Media Center and I store the media files on a USB HDD. I add files to drive directly on a Mac so I have it formatted as FAT32.
The problem is that after reconnecting the drive to the Ubuntu, it mounts at /media/user/drivename
and only the root user is allowed access. I need several applications to have full access to this drive. I can change file permissions in the terminal but it doesn't change because of the /media/user
location. I am able to manually sudo mount /dev/sdc1 /media/drivename
& sudo chmod 777 /media/drivename
but the mount point changes each time.
Is there a way to make this drive always mount where root and other applications have access?
© Ask Ubuntu or respective owner