Help,for full access mount ntfs-3g in /etc/fstab

Hi
my fstab lines ntfs


UUID=01D0D19EB7CA49B0 /run/media/think_alone/e        ntfs-3g   umask=0,user,users,nofail,gid=users 
0 0
UUID=01D11813FE102050 /run/media/think_alone/d         ntfs-3g   
umask=07,user,users,nofail,gid=users  0 0

i can read and write but i use encfs when copy file in encfs mount folder on the ntfs partition
show error

Could not change permissions for

how to full access ntfs mount on the /etc/fstab?
Thanks

I do not know the programs/processes you are using there, but one thing is sure: permissions on non-Linux file systems like NTFS can not be changed for the simple reason that they do not exist.

but i disable lines mount ntfs in /etc/fstab then reboot and mount ntfs drive with file manager dolphin then mount encfs on the ntfs and work and write not error.
why not work when mount partitoins ntfs on the /etc/fstab?
do you think my lines /etc/fstab is false?

The permission you see on files on NTFS filesystems are faked. They are faked from the options used during the mount. Thus you could compare both cases by comparing the permissions as shown using e.g.

ls -l one-of-the-files-in-thefile-system

It could be that what that action does is checking what the permissions are and then try to change them into what it thinks they should be. Thus when the two cases differ, in one case it will try to change (and get the error, like you will get it when you use chmod on it), in the other case it will not try to change. But that is only guessing.

Again, the exercise is rather useless because there are no Unix/Linux permissions, nor the UID and GID of ownership on an NTFS file system. My opinion is that you deviate from my (personal, I admit) rule: “Use non-Linux file systems only for direct exchange of files with non-Linux systems”.

Thanks for help
I’ve found my problem
But I do not know how to solve
when mount partiotn ntfs with /etc/fstab
log
sudo ls -l one-of-the-files-in-thefile-system /run/media/think_alone/d

 
> sudo ls -l one-of-the-files-in-thefile-system 
/run/media/think_alone/d/
ls: cannot access one-of-the-files-in-thefile-system: No such file or directory
/run/media/think_alone/d/:
total 192
drwxrwxrwx 1 root root     0 Mar  7 19:23 Android
drwxrwxrwx 1 root root  4096 Feb 20 21:30 music
drwxrwxrwx 1 root root     0 Mar 25 10:39 $RECYCLE.BIN
drwxrwxrwx 1 root root     0 Jan 29 03:08 System Volume Information
drwxrwxrwx 1 root root  8192 Mar 28 17:04 tmp
-rwxrwxrwx 1 root root 76359 Mar 22 16:00 photorec.ses

when mount with manual withe dolphin
log
sudo ls -l one-of-the-files-in-thefile-system /run/media/think_alone/WIN8.1


~> sudo ls -l one-of-the-files-in-thefile-system /run/media/think_alone/Win8.1/
pam_mount password:
ls: cannot access one-of-the-files-in-thefile-system: No such file or directory
/run/media/think_alone/Win8.1/:
total 11489833
-rwxrwxrwx 1 think_alone users     398356 Mar 18  2014 bootmgr
-rwxrwxrwx 1 think_alone users          1 Jun 18  2013 BOOTNXT
lrwxrwxrwx 2 think_alone users         60 Aug 22  2013 Documents and Settings -> 
/run/media/think_alone/Win8.1/Users
-rwxrwxrwx 1 think_alone users 5054222336 Mar 29 08:02 hiberfil.sys
drwxrwxrwx 1 think_alone users          0 Dec 15 02:26 Intel
drwxrwxrwx 1 think_alone users       4096 Jan  6  2015 libgcrypt-master
drwxrwxrwx 1 think_alone users          0 Dec 15 05:18 Log
-rwxrwxrwx 1 think_alone users 6442450944 Mar 29 08:02 pagefile.sys

how to add user “think_alone” in the /etc/fstab for mount nfts?
because not my user “thinkalone” in the /etc/fstab for mount ntfs.

First, you should have replaced one-of-the-files-in-thefile-system with /run/media/think_alone/d/ (which is apparently one of the files in that file system), not added that to my example statement with filler!

And to know what to do to fake user think_alone as the owner UID and group users as the faked GID read the man page:

man 8 mount

You will e.g. find there that the using both the mount options user and users is confusing. Use only one of them.

You will also find under the FILESYSTEM SPECIFIC MOUNT OPTIONS and then Mount options for ntfs:

uid=value, gid=value and umask=value
Set the file permission on the filesystem. The umask value is given in octal. By default, the files are owned by root and not readable by somebody else.

The uid= is missing in your fstab entry.

What you could have done also is looking at how the desktop mount is done (after all, you want to do more or less the same):

mount | grep think_alone

and then of course not copy the options thoughtless, but taking them as suggestions.

BTW, mounting yourself inside /media is not advisable. That is reserved for the mounting through the desktop. Mounting can be done in every suitable place (and when it is to be accessable only for think_alone, that could be somewhere in the home directory of think_alone), or, when your imagination fails here, us a mountpoint inside /mnt. /mnt is there for such things.

Thank you for help
Big thanks hcvv