Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th November 2009, 07:46 PM
MacDingus Offline
Registered User
 
Join Date: Mar 2009
Posts: 19
linuxfedorafirefox
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
Reply With Quote
  #2  
Old 19th November 2009, 11:18 PM
JordanN Offline
Registered User
 
Join Date: Sep 2004
Location: Fort Wayne, Indiana
Posts: 573
linuxfedorafirefox
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!
Reply With Quote
  #3  
Old 19th November 2009, 11:24 PM
leigh123linux Online
Retired Administrator
 
Join Date: Oct 2006
Posts: 22,370
linuxfedoramozilla
Quote:
Originally Posted by JordanN View Post
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



.
Reply With Quote
  #4  
Old 19th November 2009, 11:25 PM
leigh123linux Online
Retired Administrator
 
Join Date: Oct 2006
Posts: 22,370
linuxfedoramozilla
Quote:
Originally Posted by MacDingus View Post
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
Reply With Quote
  #5  
Old 19th November 2009, 11:26 PM
JordanN Offline
Registered User
 
Join Date: Sep 2004
Location: Fort Wayne, Indiana
Posts: 573
linuxfedorafirefox
Quote:
Originally Posted by leigh123linux View Post
Realcrypt is Truecrypt, I had to change the name to comply with the license.


http://rpmfusion.org/Package/realcrypt



.
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!
Reply With Quote
  #6  
Old 20th November 2009, 12:30 AM
MacDingus Offline
Registered User
 
Join Date: Mar 2009
Posts: 19
linuxfedorafirefox
Quote:
Originally Posted by leigh123linux View Post
Is there anything in there that will help?

http://rpmfusion.org/Package/realcrypt
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
Reply With Quote
  #7  
Old 30th November 2009, 01:33 PM
exe Offline
Registered User
 
Join Date: Mar 2004
Posts: 94
linuxfedorafirefox
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.
Reply With Quote
  #8  
Old 30th November 2009, 05:26 PM
liefra Offline
Registered User
 
Join Date: Nov 2009
Posts: 1
linuxsafari
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
Reply With Quote
  #9  
Old 4th December 2009, 04:11 PM
MacDingus Offline
Registered User
 
Join Date: Mar 2009
Posts: 19
linuxfedorafirefox
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
Reply With Quote
  #10  
Old 14th February 2010, 02:37 AM
tameboy Offline
Registered User
 
Join Date: Jul 2007
Location: UK
Posts: 140
linuxfirefox
Quote:
Originally Posted by exe View Post
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?
__________________
F19 64 bit KDE / W7 Home dual boot (no longer used)
Reply With Quote
  #11  
Old 14th February 2010, 09:41 PM
tedsmith Offline
Registered User
 
Join Date: Feb 2010
Posts: 1
linuxfedorafirefox
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?
Reply With Quote
  #12  
Old 29th March 2010, 11:41 PM
tameboy Offline
Registered User
 
Join Date: Jul 2007
Location: UK
Posts: 140
linuxfirefox
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
__________________
F19 64 bit KDE / W7 Home dual boot (no longer used)
Reply With Quote
  #13  
Old 16th February 2011, 07:14 AM
knightrider123 Offline
Registered User
 
Join Date: Feb 2011
Location: India
Posts: 7
linuxfedorafirefox
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.
Reply With Quote
  #14  
Old 16th February 2011, 12:15 PM
tameboy Offline
Registered User
 
Join Date: Jul 2007
Location: UK
Posts: 140
linuxfedorafirefox
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.
__________________
F19 64 bit KDE / W7 Home dual boot (no longer used)
Reply With Quote
  #15  
Old 16th February 2011, 02:44 PM
knightrider123 Offline
Registered User
 
Join Date: Feb 2011
Location: India
Posts: 7
linuxfedorafirefox
Re: RealCrypt mount folder permission changes

you r welcome TameBoy .
Reply With Quote
Reply

Tags
folder, mount, permission, realcrypt

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder permission for apache2 articwolfb Servers & Networking 4 12th April 2009 10:05 PM
Permission denied error when trying to mount image contained in sshfs mount openSauce Using Fedora 5 8th March 2009 03:14 PM
Permission on Folder -Fed 7 gerardo Using Fedora 1 6th August 2008 10:09 AM
Folder and Subfolder Permission kcwong13 Using Fedora 3 29th May 2007 04:12 AM
Folder Permission Dayson Using Fedora 2 10th January 2005 08:12 AM


Current GMT-time: 09:27 (Wednesday, 23-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat