 |
 |
 |
 |
| Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits. |

19th November 2009, 07:46 PM
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 19

|
|
|
RealCrypt mount folder permission changes
I wanted to create an encrypted volume that was accessible from F12 and WinXP.
Using RealCrypt, I created a volume on a NTFS partition and formatted it as NTFS.
mount point: /home/user1/safe
user dir: /home/user1/safe/folder
When I run:
[root@localhost ~]# realcrypt -t --mount --filesystem=ntfs /mnt/winshare/volume /home/user1/safe
The permissions for "/home/user1/safe" change from 755 to 700 and I am unable to access "/home/user1/safe/folder".
Also "home/user1/safe/folder" changes owner and group to root with permissions of 700.
My guess is that this is being caused by ntfs-3g, but i've no idea how to pass on uid options in this example. Is this even doable?
__________________
- MacD
_____________________________________________
Critics rave about MacDingus!
"Superbly Clever" - HMSSO13, Fedoraforum.org
|

19th November 2009, 11:18 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Location: Fort Wayne, Indiana
Posts: 573

|
|
|
Related question, can RealCrypt be used to open TrueCrypt volumes? I have a laptop that is set to dual-boot Vista and Fedora 12. I want to share an encrypted directory between them, and open it upon login in either system.
__________________
"Fedora" and "Fun" both start with "F". Coincidence? I think not!
|

19th November 2009, 11:24 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
Quote:
Originally Posted by JordanN
Related question, can RealCrypt be used to open TrueCrypt volumes? I have a laptop that is set to dual-boot Vista and Fedora 12. I want to share an encrypted directory between them, and open it upon login in either system.
|
Realcrypt is Truecrypt, I had to change the name to comply with the license.
http://rpmfusion.org/Package/realcrypt
.
|

19th November 2009, 11:25 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
Quote:
Originally Posted by MacDingus
I wanted to create an encrypted volume that was accessible from F12 and WinXP.
Using RealCrypt, I created a volume on a NTFS partition and formatted it as NTFS.
mount point: /home/user1/safe
user dir: /home/user1/safe/folder
When I run:
[root@localhost ~]# realcrypt -t --mount --filesystem=ntfs /mnt/winshare/volume /home/user1/safe
The permissions for "/home/user1/safe" change from 755 to 700 and I am unable to access "/home/user1/safe/folder".
Also "home/user1/safe/folder" changes owner and group to root with permissions of 700.
My guess is that this is being caused by ntfs-3g, but i've no idea how to pass on uid options in this example. Is this even doable?
|
Is there anything in there that will help?
http://rpmfusion.org/Package/realcrypt
|

19th November 2009, 11:26 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Location: Fort Wayne, Indiana
Posts: 573

|
|
Quote:
Originally Posted by leigh123linux
|
Awesome. I think I noticed a while back that TrueCrypt for Linux seemed a little finicky, which is why I haven't really tried making it work on the Linux side.
Edit: Well, I've managed to install RealCrypt and mount my directory with no real problems. Unfortunately, RealCrypt requires root privileges in order to function, so I'll now figure out a streamlined method to mount the partition at boot, and then run Realcrypt at login, which will then prompt for the encryption password, and mount the encrypted volume, all this without asking prompting for the root password.
This is fun!
__________________
"Fedora" and "Fun" both start with "F". Coincidence? I think not!
|

20th November 2009, 12:30 AM
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 19

|
|
Quote:
Originally Posted by leigh123linux
|
Those are the Darn Fine instructions I've been using....BUT...
Four times I've run through those w/the only exception being that I'm formatting ntfs instead of native and I get the same results.
I've no problems with the app using ext4 on native linux partitions.
Perhaps create the volume win/side w/truecrypt and just mount from F12?
__________________
- MacD
_____________________________________________
Critics rave about MacDingus!
"Superbly Clever" - HMSSO13, Fedoraforum.org
|

30th November 2009, 01:33 PM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 94

|
|
|
realcrypt mounts truecrypt devices, at least for me. As root data on it is accessible on linux.
However, I am not able to find a way how to mount the partition to be used under non-root credentials.
I use fat-32 file system on a partition to be shared between linux and windows.
In the past I have been using truecrypt on linux and windows.
|

30th November 2009, 05:26 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 1

|
|
|
I also had some problems after the upgrade from F11 to F12, but the following works now for me
sudo realcrypt -t -k "" --protect-hidden=no --filesystem=ntfs-3g --mount /path/to/filecontainer /home/username/docs --fs-options=umask=000,uid=500,guid=500
---------- Post added at 12:26 AM CST ---------- Previous post was at 12:26 AM CST ----------
I also had some problems after the upgrade from F11 to F12, but the following works now for me
sudo realcrypt -t -k "" --protect-hidden=no --filesystem=ntfs-3g --mount /path/to/filecontainer /home/username/docs --fs-options=umask=000,uid=500,guid=500
|

4th December 2009, 04:11 PM
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 19

|
|
Well, because of a few quirks, I decided to clean install F12. Now when I try to format a realcrypt volume with NTFS my system completely locks up!
However, passing the id options on mount would appear to be just the thing I was looking for. Will give it a shot when I can, thanks much.
__________________
- MacD
_____________________________________________
Critics rave about MacDingus!
"Superbly Clever" - HMSSO13, Fedoraforum.org
|

14th February 2010, 02:37 AM
|
 |
Registered User
|
|
Join Date: Jul 2007
Location: UK
Posts: 139

|
|
Quote:
Originally Posted by exe
realcrypt mounts truecrypt devices, at least for me. As root data on it is accessible on linux.
However, I am not able to find a way how to mount the partition to be used under non-root credentials.
I use fat-32 file system on a partition to be shared between linux and windows.
In the past I have been using truecrypt on linux and windows.
|
I have the same problem. Has anyone managed to mount with anything other than root credentials?
__________________
F16 64 bit KDE / W7 Home dual boot.
|

14th February 2010, 09:41 PM
|
|
Registered User
|
|
Join Date: Feb 2010
Posts: 1

|
|
|
I came here looking for the answer to that too.
I have an old TrueCrypt volume, created using TC in Ubuntu that I am now trying to mount in Fedora 12 using RC. It mounts OK if I run TC as root, but I cannot change the permissions or ownership to that of my regular user, and I don't want to run the volume as root.
So I find that I can also run RC as a regular user, but obviously in order to mount the volume I have to give the root password as well as the container password. When I do this though, it reports that it was unable to obtain the root password and tells me to try again. On and on we go until I gave up.
Is there a bug\issue with how RC checks the root password?
|

29th March 2010, 11:41 PM
|
 |
Registered User
|
|
Join Date: Jul 2007
Location: UK
Posts: 139

|
|
|
Re: RealCrypt mount folder permission changes
I found this on another thread:
http://fedoraforum.org/leigh123linux/badday_Screenshot.png
If you set your uid and gid in the mount options, you will be able to access the volume without root credentials
__________________
F16 64 bit KDE / W7 Home dual boot.
|

16th February 2011, 07:14 AM
|
|
Registered User
|
|
Join Date: Feb 2011
Location: India
Posts: 7

|
|
|
Re: RealCrypt mount folder permission changes
tameboy has given perfect solution .
You can make this change permanently by changing the preferences .In the realcrypt main window , Go to Settings Menu , then in that menu click on preferences .
A new window will open , and in that go to mount options tab . There specify your gid and uid in mount options to make the change permanent
Last edited by knightrider123; 16th February 2011 at 07:17 AM.
|

16th February 2011, 12:15 PM
|
 |
Registered User
|
|
Join Date: Jul 2007
Location: UK
Posts: 139

|
|
|
Re: RealCrypt mount folder permission changes
thanks Knightrider, I didn't realise you could set this in preferences. That will save me a lot of typing.
__________________
F16 64 bit KDE / W7 Home dual boot.
|

16th February 2011, 02:44 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Location: India
Posts: 7

|
|
|
Re: RealCrypt mount folder permission changes
you r welcome TameBoy .
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 09:27 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|