NTFS cannot handle the permissions like Linux can. Usually when you mount
an NTFS volume it is user-owned as the user that mounted it, and nobody
else has rights unless the mount command specified rights for everybody.
To help you it will be important to know exactly how you are mounting the
NTFS volume. Also, while it may make sense to put a symlink or mountpoint
in a given user’s home directory to an NTFS volume, I probably would not
use the whole directory as a home directory because of the rights
limitations of NTFS. Mounting it in place of ‘Documents’ or something may
make sense, though, since that’s probably more along the lines of what you
want to have working. Maybe then symlink from Downloads to
…/Documents/Downloads as well so you can have that in there.
Anyway, how exactly is your mount showing up one done? How are you
setting up your CIFS share exactly? Output from the mount command on
relevant machines may be helpful.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…
On 06/17/2014 05:36 AM, lbrancher wrote:
>
> Thanks for your repply
>
> Follow the command that I’m using for mount the NTFS share.
>
> mount -t cifs //Server/sftp /var/sftp/HomeDirectory -o
> credentials=/root/credentials.txt,sec=ntlmssp,rw
No, this is the command to mount the SMB share over the network. My guess
is that the problem is with the NTFS volume (not share) mount on the
remote system and rights there. If you mount NTFS to a Linux box then the
permissions are whatever you define when mounting, or else owned by
root:root if nothing else specified.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…
On 2014-06-16 21:56, lbrancher wrote:
>
> Hi
>
> I’m tried to mount a NTFS share and put as home folder for a user, but I
> have an issue with permissions.
…
> How can I solve this issue? any idea?
Short answer: don’t do it.
Use a native Linux filesystem for Linux native things, like the home
folder. Instead, you can (normally) mount, bind mount, or symlink, that
ntfs share on “~/Documents” or some other data directory.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)