osx - Set umask when mounting USB on Mac -


i have aegis secure key want mount on mac specific umask (077). on linux add line in /etc/fstab:

/dev/disk/by-id/usb-apricorn_secure_ke /media/securekey vfat uid=foo,gid=bar,rw,user,noauto,umask=0077 0 0

this doesn't appear work on mac. suggestions?

thanks!

finally figured out. first had use disk utility figure out uuid (select device, click on info). added line /etc/fstab (using vifs edit fstab):

uuid=fee416ce-8fb7-30dc-b80e-88138d42ead9 /users/foo/mounts/key msdos noauto,-m=700


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -