Archive

Posts Tagged ‘encrypted’

cannot write to TrueCrypt volume

December 20, 2018 Leave a comment

Problem
With TrueCrypt 7.1a I created a new encrypted volume. After mounting it, I couldn’t write on it. “Permission denied”.

Solution
I had another encrypted volume that I could investigate. There, in the root folder, I saw the following:

$ ls -al | head                     
total 340
drwxr-xr-x  47 jabba optwriter   4096 Dec 20 17:08 .
drwxr-xr-x   5 jabba root        4096 Dec 20 17:03 ..
...

Here, “jabba” is my username. On the newly created volume the owner of “.” in the root folder was the root. Thus, the solution was the following:

# cd to the root folder of the new volume. Then:
$ sudo chown jabba:optwriter .

After this I had write permission on the new volume. Of course, replace “jabba” with your own username.

Design a site like this with WordPress.com
Get started