Menu

How to mount exfat container as root with all permissions?

Tom65536
2020-08-26
2020-09-07
  • Tom65536

    Tom65536 - 2020-08-26

    Hey guys,
    Iam trying to mount a veracrypt container file stored on an external usb hdd, both the container and partition are formatted with exfat.
    The partition is already mounted in ubuntu system with "umask=000" so full permission for all users.
    The problem is, when Iam mounting the container file in veracrypt, it is only mounted with user permissions.
    But because it is exfat, "chown" and "chmod" doesn't work, so I cant change the permissions after mounting.
    So I tried "umask=000" and also "uid=0,gid=0" (root user and group) mount options in veracrypt, but nothing worked, the mount options seemed to be ignored.
    Does anyone know, how to mount an exfat formatted container file with veracrypt with full permission for all users?

     

    Last edit: Tom65536 2020-08-26
  • infodan36

    infodan36 - 2020-08-27

    Hi

    Which kernel do you use ?
    From 5.7, there should not be any problems linked to Read and Write to Exfat Partition, no ?
    https://fossbytes.com/linux-kernel-5-7-new-exfat-file-system-driver-samsung/

     
  • Tom65536

    Tom65536 - 2020-08-27

    I've tried it with kernel 4.9 (Ubuntu 20.04 Odroid C4 ARM64 device) and with kernel 5.4 (Ubuntu 20.04 Odroid XU4 ARM device). I think in next time will be no newer kernel version available for those devices, as the image with 5.4 released only a few days ago. So unfortantly, the samsung-exfat code in 5.7 will not help me with my problem and I need a workaround for kernel version 5.4/4.9 :D

    As I know, kernel 5.4 also already includes exfat code in kernel.
    According to ubuntu wiki the FUSE module has an option "-o allow_other":
    https://wiki.ubuntuusers.de/FUSE/

    The question is, how I can pass this mount option through Veracrypt to the FUSE module, which is mounting the exfat partition?

     
  • Tom65536

    Tom65536 - 2020-09-07

    Does someone has an idea how to get this working?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.