You are not logged in.
Hi!
I'm trying to mount an ntfs partition from fstab with execute permissions. My research showed that it should look like below, and i should put the exec to the end of the mount options to make sure it work. I cant find any answer to make it have the executable permission. Can you please point me to the right direction?
/dev/sda4 /mainData ntfs-3g defaults,rw,exec 0 0Last edited by readdeo (2017-12-16 21:01:09)
Offline
Everything has execute permissions on ntfs-3g mounted drives for me, without explicitly mentioning exec. What's your actual issue? What is your end goal? Outputs of
mount
ls -l /mainDataOffline
MY problem is that i want to add a steam library folder on that partition and steam says, that the partition doesnt have execute permissions.
Output:
[readdeo@readdeo-arch ~]$ ls -l /mainData
total 1001020
drwxrwxrwx 1 root root 4096 Dec 8 19:05 '$RECYCLE.BIN'
-rwxrwxrwx 1 root root 784355 Sep 19 19:12 1505841154831.jpg
-rwxrwxrwx 1 root root 3278078 Nov 4 15:44 Arduino.zip
drwxrwxrwx 1 root root 0 Nov 1 19:20 Backup
drwxrwxrwx 1 root root 8192 Dec 8 16:45 Games
drwxrwxrwx 1 root root 0 Aug 26 10:40 'Imperium Galactica 2'
drwxrwxrwx 1 root root 8192 Dec 10 22:51 Programok
drwxrwxrwx 1 root root 0 Sep 20 14:31 Shared
drwxrwxrwx 1 root root 8192 Dec 12 05:44 'System Volume Information'
[readdeo@readdeo-arch ~]$Last edited by readdeo (2017-12-16 15:31:25)
Offline
Can you create files as your normal user? You might want to mount with your UID/GID explicitly mentioned. That said if we are talking Steam on Linux I'm fairly certain that they have quite a few issues with having a library on non POSIX attribute filesystems, an NTFS filesystem doesn't have the notion of a executable bit, and Steam tries to create explicitly executable files with chmod, which fails. A workaround is to create your steam library on a ext4 partition, then moving that to your NTFS drive and then leaving a symlink on the original ext4 partition, see e.g. here as well: https://github.com/ValveSoftware/steam- … issues/596
Offline
Looks like the mounted partition is read only. Tried this and no luck.
UUID=01D3573ABD295A80 /mainData ntfs-3g uid=readdeo,gid=users,fmask=0000,dmask=0000,rw,exec 0 0mount Output:
/dev/sda4 on /mainData type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096) Offline
[readdeo@readdeo-arch ~]$ sudo mount /dev/sda4 /mainData/
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)This was the problem.
I just went to win 10, shut down properly and its working now. Thank you for everything!
Offline
Yeah that is one you'll always have to be weary of on a dual boot system. Please mark as [SOLVED] by editing the title of your initial post.
Offline