Menu

Unable to get write privileges for veracrypt drive when using Samba

Joe Hax
2025-01-16
2025-01-31
  • Joe Hax

    Joe Hax - 2025-01-16

    Hi!

    I have veracrypt on my Ubuntu 24.04 machine, and I'm trying to share it using samba with a Windows machine. I can access the drive, but I cant write to it. I've tried to share a non-encrypted folder with same settings and that works fine, so I'm guess it has something to do with veracrypt. I have tried to add umask=000 in mounting options, but that didn't work. Though it does say drwxrwxrwx when i do ls -ld /media/veracrypt1, I'm still not able to write to it.

    Does anyone have any suggestions how to fix this? Or any other suggestions on how to share the drive over the network? I would like to be able to mount it on my windows machine.

    Any help is much appreciated!

     
  • Joe Hax

    Joe Hax - 2025-01-26

    Nobody have any suggestions?

     
    • rmmbr

      rmmbr - 2025-01-31

      It sounds to me like you were using NTFS as your file system and misunderstood the NTFS and share permissions. Am I right?

      If so, use a simpler file system in the container or adjust the NTFS rights. Here is an introduction to the problem => https://www.tenfold-security.com/en/ntfs-permissions-and-share-permissions-whats-the-difference/

       

Log in to post a comment.

MongoDB Logo MongoDB