Sample Header Ad - 728x90

Umask questions in mount

0 votes
0 answers
30 views
I have a question regarding 'umask.' I have an extra disk on my Linux system, and I want it to mount during startup with the same permissions as '/home.' For example, my '/home' has these permissions:
d rwx r-x r-x  < Directories
- rw- rw- r--  < Files
I want any directories or files created on this extra disk to maintain these permissions. My '/etc/fstab' looks like this:
=BABABABABABA   /path/to/mount   ntfs   umask=0022,uid=1000,gid=1000   0   2
And my permissions for both directories and files are currently:
r-x r-x
Any suggestions or corrections are appreciated!
Asked by Josu&#233; Suptitz (1 rep)
Mar 11, 2024, 08:29 PM