I am new to ubuntu and now having some problems in editing the fstab file.
At first everything works all fine, the windows partitions are auto-mounted at boot, and I have access and permissions to them. But somehow I installed ntfs-config, and then uninstalled it because error message pops up every time I boot. I am not sure whether this has modified my fstab or not. Later I backed up the fstab, added noauto,user options to the windows partitions, and they were no longer accessible. So I recovered fstab using the back-up. But I lost some permissions to those windows files/directories.
Not sure I am describing it clearly. Basically I did something that makes me lost permissions to windows files, but I am not sure what it is because I recovered fstab by back-up, so it could be ntfs-config, but I have no idea of what the fstab looked like before ntfs-config installation.
This is a copy of my fstab:
Please just ignore those Chinese characters and some very strange disk name...the umask codes and different options really confused me. What does the first digit in 'umask=0222' stands for? Am I not the root and should have full permission?# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
#Entry for /dev/sda11 :
UUID=4fbb670d-3a0b-44df-83d1-59095081354f / ext4 errors=remount-ro 0 1
#Entry for /dev/sda9 :
UUID=926e2475-9582-487c-ba48-736655ee1547 /boot ext4 defaults 0 2
#Entry for /dev/sda10 :
UUID=099795b2-ebea-4e98-9b35-b40cd0eceb81 /home ext4 defaults 0 2
#Entry for /dev/sda1 :
UUID=64BC278DBC2758B6 /media/M_fM__VM_0M_eM__JM__M_eM__MM_7 ntfs defaults,nls=utf8,umask=0222 0 0
#Entry for /dev/sda2 :
UUID=8A2EF9D02EF9B573 /media/System_Reserved ntfs defaults,nls=utf8,umask=0222 0 0
#Entry for /dev/sda3 :
UUID=687071027070D870 /media/sda3 ntfs defaults,nls=utf8,umask=0222 0 0
#Entry for /dev/sda5 :
UUID=8024234724233F90 /media/sda5 ntfs defaults,nls=utf8,umask=0222 0 0
#Entry for /dev/sda7 :
UUID=900867A708678B54 /media/sda7 ntfs defaults,nls=utf8,umask=0222 0 0
#Entry for /dev/sda6 :
UUID=78044C1D044BDCAE /media/新加卷 ntfs defaults,nls=utf8,umask=0222,nosuid,nodev 0 0
#Entry for /dev/sda8 :
UUID=a5140d75-9d64-4dd7-8971-2477c911c4bf none swap sw 0 0
What do I need to do to set, for instance, the sda5 partition to auto-mount, with all permissions, and some others non-auto-mount but still have permission to?
Many many many many thanks~~~~