[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VFAT vs. umask.



On Thu, Jul 28, 2022 at 02:49:03PM -0700, peter@easthope.ca wrote:
> https://tldp.org/FAQ/Linux-FAQ/partitions.html has this example.
> 
>  $ mkdir /dos $
> mount -t msdos -o conv=text,umask=022,uid=100,gid=100 /dev/hda3 /dos
> 
> Therefore a new file receives permissions 755.  Correct?
> 
> But a FAT file has only all-user read-only permissions.  Either 777 or 555.  Correct?

No. A FAT file system has no permissions (and no user/group ownership).
All is faked one layer above.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: