System name | English name | Linux type |
W95 FAT32 | Microsoft FAT32 | vfat |
W95 FAT32 (LBA) | Microsoft FAT32 | vfat |
W95 FAT16 (LBA) | Microsoft FAT16 | vfat |
W95 Ext'd (LBA) | Microsoft extended partition | Not used |
NTFS volume set | Microsoft NTFS | ntfs |
NTFS volume set | Microsoft NTFS with read-write access | ntfs-3g |
Apple_HFS | Apple HFS | hfsplus |
rw,user,auto,exec,fmask=0177,dmask=0077,uid=1000
rw,ro 读写控制
exec 可执行
auto: Can be mounted with the -a option.
defaults: Use default options: rw, suid, dev, exec, auto, nouser, and async.
user Allow an ordinary user to mount the filesystem.
uid=value and gid=value
Set the owner and group of the files in the filesystem (default:
uid=gid=0).
umask=value
Set the umask (the bitmask of the permissions that are not
present). The default is the umask of the current process. The
value is given in octal.
dmask=value
Set the umask applied to directories only. The default is the
umask of the current process. The value is given in octal.
fmask=value
Set the umask applied to regular files only. The default is the
umask of the current process. The value is given in octal.
uid 可以通过 id 命令获得
$id
umask 只能设置全体文件的权限
ntfs-3g 也没有办法设置单独文件的权限,所以如果需要执行权限,则所有文件都是可执行文件
0 comments:
Post a Comment