LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot write to LUKS encrypted hard drive (http://www.linuxquestions.org/questions/linux-software-2/cannot-write-to-luks-encrypted-hard-drive-872733/)

Nemesissparadise 04-03-2011 01:15 PM

Cannot write to LUKS encrypted hard drive
 
I am running Fedora 14 with the Gnome desktop and I have a 1 TB external hard drive that is msdos with approximately 200 gbs of data on it. I can unlock it and even read and copy files to my internal hard drive but I cannot add files to it, I use to be able to. I didn;t think i changed permissions or anything so can anyone advise me how to fix this or should i back up everything on it and reformat it and hope that fixes it?

jefro 04-03-2011 05:39 PM

Is the mount point read write?

http://www.2030.tk/wiki/Encrypt_an_p...ith_cryptsetup

Nemesissparadise 04-04-2011 02:05 PM

Ok I have determined that it is a read only file system but after going to the link I dont understand how that helps me, that just tells me how to encrypt it as far as I can tell. What am I missing?

jefro 04-04-2011 04:02 PM

Create open and close scripts

Create a directory where you want to mount it to and don't forget to give you write permission to that.
openCrypto.sh

#!/bin/bash
sudo cryptsetup luksOpen /dev/sdb1 somename
sudo mount /dev/mapper/somename /mnt/somename


This is what I was thinking about. /mnt/somename permission to a user.


All times are GMT -5. The time now is 04:24 PM.