I've been using Ubuntu/Linux for a few years now but I'm still learning..
I've just updated to 12.10 after installing a Samsung 830 128GB SSD which has Windows and Ubuntu OS's dualboot on it. My old 500GB HDD (Data) is now NTFS with all my data on it (music, docs, videos etc) and I'd like to have this accessible/shareable in both OS's. I've decided to leave /home on my SSD but symlink to the Data drive. Before I do this I want to make sure Data automounts at startup (for Dropbox most importantly). If I edit my /etc/fstab/ to include:
# Data shared with windows UUID=blablabla /media/kim/Data ntfs-3g defaults,auto,uid=1000,gid=1000,umask=077 0 0
I get these permissions:
drwx------ 1 kim kim 4.0K Feb 4 23:31 Data/
This is the same when I mount the disk during a session by clicking on the disk in Unity.
But! If I look at the permissions of my documents when I "automount" it via fstab everything is executable:
-rwx------ 2 kim kim 13K Apr 25 2010 THE BEST OF THE BEST.doc*
I really want it to have the same permissions as when Ubuntu does the mounting:
-rw------- 2 kim kim 13K Apr 25 2010 THE BEST OF THE BEST.doc
Of course, I still want my videos to be executable right? So what are the correct permissions I should be using to do this (in my fstab)? Is there a way to find out what permissions Ubuntu gives the disk when it mounts so I can emulate them in my fstab?
Thanks in advance for any help. ;)