Hi, this is pretty basic stuff and I feel like I should know it already.
I use /etc/fstab to automount ntfs partitions at boot. The pattern I use:
It works! But when in terminal, I do ls /media/, the directory "Data" has a green background. I'm not sure what that indicates, but I have a hunch that it depends on permissions (or ownership?) If I do stat -c "%a" /media/Data, I get 777.Code:# <uuid> <mount-point> <fs-type> <options> <dump> <pass> UUID="THEUUID0123456789" /media/Data ntfs defaults 0 0
I want default permissions to be 755 or 775. However, that poses a problem because the owner of /media/Data (and its subdirs) is root, and if permission is not 777, I'll have to login as root whenever doing any modifications to the mounted fs. Is it possible to automount with owner=me and permission 755.
In short, I want to remove the annoying green background behind directory name without losing access to /media/Data (and its subdirs) from a non-root user. Is that possible? If yes, how?
(Is it through the "options" argument in fstab?)



Adv Reply



Bookmarks