On a system that dual boots Windows and Ubuntu, I use this line in /etc/fstab
to have the NTFS Windows disk mounted
permanently in Ubuntu:
/dev/disk/by-uuid/1EBB57A121AFC448 /mnt/1TB auto nosuid,nodev,nofail,x-gvfs-show,uid=marios,gid=marios,permissions,dmask=022,fmask=133 0 0
Here's a list of options used in that line:
nosuid
: this is a security enhancement, preventing execution of files under the files' owner's permissios, from users other than the ownernodev
: this prevents the mounted filesystem from containing device filesnofail
: prevents error reports when the device is missing, but can mask failuresx-gvfs-show
: makes the device visible in the user interface, in the file exploreruid=marios
andgid=marios
: assign user and group ownership of new files to a specific userdmask=022
andfmask=133
: default permissions for newly created files and directories
Image credit: Library At Trinity College. In the Public Domain. Source.