Trouble mounting NTFS drive with exec [solved]

Kernels & Hardware, configuring network, installing services

Trouble mounting NTFS drive with exec [solved]

Postby rellwood » 2019-08-31 03:23

Hello,

I'm trying to mount a NTFS drive so that it has execute permission. My /etc/fstab has the line,

Code: Select all
/dev/sda1 /home/user/ntdrive ntfs-3g rw,exec,user,auto,uid=1000,gid=1000,umask=0022 0 0

and when booting the drive mounts itself fine. However,

Code: Select all
$ mount | grep ntdrive
/dev/sda1 on /home/user/ntdrive type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,user)

What gives here? I specifically asked for exec but got noexec. Any advice?

Thanks,
Richard
Last edited by rellwood on 2019-08-31 03:37, edited 1 time in total.
User avatar
rellwood
 
Posts: 6
Joined: 2019-08-28 01:25
Location: Ojai, California, USA

Re: Trouble mounting NTFS drive with exec

Postby 4D696B65 » 2019-08-31 03:29

Put exec after user
User avatar
4D696B65
 
Posts: 2426
Joined: 2009-06-28 06:09

Re: Trouble mounting NTFS drive with exec

Postby rellwood » 2019-08-31 03:36

Perfect, thank you!
User avatar
rellwood
 
Posts: 6
Joined: 2019-08-28 01:25
Location: Ojai, California, USA


Return to System configuration

Who is online

Users browsing this forum: No registered users and 16 guests

fashionable