Menu

Permission denied

2018-03-05
2018-03-08
  • Phil Binner

    Phil Binner - 2018-03-05

    I am trying to set up a crypt on my NAS that I can access from either Windows or Linux. I have Truecrypt at the moment, but I can no longer get that for XUbuntu, so I installed VeraCrypt on both systems. I created a new container in Linux using VeraCrypt, then opened it in Windows and copied my files in. Last thing, I closed and dismounted in Windows.

    When I try to open the Crypt in Linux I select the file and type my password, and then am asked for my administrator password. When I enter that I get "Permission Denied".

    Any suggestions please.

     
  • Adrian Kentleton

    Trying to create and access Veracrypt volumes on NAS devices is a whole can of worms, because of the different ways the respective operating systems (including the NAS's own) handle file and share permissions (very different things). One way to ease the problems is to ensure there are the same user account credentials on each device.

    I use Windows, and Linux Mint, with a Buffalo Link Station NAS (with a 'Windows' shared folder thereon called 'share'), and after a lot of experimentation found it was necessary from Linux Mint to create a directory eg /nas/share on / for the mount point, then an entry in /etc/fstab eg:

    //nas/share /nas/share cifs user,rw,noauto 0 0

    (After a restart) I use mount /nas/share to access the NAS share (I'm asked for my NAS account password), and any VeraCrypt volumes created therein (from either OS) are accessible from either OS.

    The setup (mkdir, gedit /etc/fstab ) has to be done with sudo, but not the subsequent mount command.

     

    Last edit: Adrian Kentleton 2018-03-08

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.