ntfs-3g is the ntfs driver that enables read / write capability. ( You can also just specify ntfs since it points to ntfs-3g automatically )
defaults is actually a list of a whole bunch of things:
The important ones are:
rw which allows one to read and write - maybe not to you - but it allows writing to the partition.
auto means that it will automatically mount at boot
nouser makes it so only root can mount the partition - this is as god intended. It has nothing to do with who can access it.
windows_names prevents you in Linux from creating a file with a name containing characters that Windows cannot interpret.
Finally
umask - this will take a whole paragraph to explain
By default an ntfs partition will mount with permissions of 777.
Each posistion represents a different kind of user:
1st: The user who owns the mount point.
2nd: the group of users.
3rd: Others - everyone else.
The numbers have meaning:
0 - nothing
1 - execute
2 - write
4 - read
They are additive so a 7 is full access ( 1+2+4=7).
umask represents the permissions you want to remove from the default permissions. A umask=000 takes away nothing. Why add it at all. So you know what you've done and can easily change it if things change. For example a "umask=0222" makes the partition read only to everyone ( a 2 removes write ) . A umask=0027 will make it writeable to the owner, readable to group, and inaccessible to everyone else ( a 7 removes all permissions ).
See, I don't think using things like pysdm and the dozen or so other fstab editors is a good idea. I think templates is the way to go so when Debian or Ubuntu decide that Pysdm should be removed from the repositories ( which they have ) because of the damage it has caused over the years you are no longer dependant on it to accomplish the task.
Bookmarks