Hi community,
I have 3 drives on my system - one for debian (EXT4), one for windows (NTFS) and another for shared data storage (NTFS). I want to mount the data drive while using debian. The first way I did it was using the default settings,This resulted in all the files in the data drive owned by root and having rwx permissions for all users (777). This to me looks like a huge security risk (Pardon me if my understanding is flawed). So I decided to use the following method,This changed the ownership to the user and reset the permissions to 755 for directories and 644 for files in the data drive. However, if I were to add executable permission to a particular file using chmod, It wouldn't work. The permission still remain 644. In essence, I'd like to use the the NTFS drive just like a normal linux partition (ie. capable of managing file permissions - I thought the permissions option in the fstab did that). So how can I change my mount options in fstab to achieve this? Is that even possible?
I have 3 drives on my system - one for debian (EXT4), one for windows (NTFS) and another for shared data storage (NTFS). I want to mount the data drive while using debian. The first way I did it was using the default settings,
Code:
UUID=ALPHANUMERICVAL/media/myusername/Datantfs-3gdefaults00
Code:
UUID=ALPHANUMERICVAL/media/myusername/Datantfs-3gdefaults,dmask=022,fmask=133,uid=1000,gid=1000,permissions,windows_names00
Statistics: Posted by neongashmen — 2024-12-14 09:12 — Replies 9 — Views 148