[SOLVED] Installed TrueCrypt but unable to write into

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Installed TrueCrypt but unable to write into

Postby michel » Aug 26th, '12, 10:23

Greetings,

I managed to install TrueCrypt with various sudoers edits and now the program is installed and will open the encrypted folder but I canot copy TO the folder.

Any ideas why not?
Last edited by michel on Aug 26th, '12, 14:04, edited 1 time in total.
michel
 
Posts: 52
Joined: Aug 25th, '12, 20:55

Re: Installed TrueCrypt but unable to write into directory

Postby doktor5000 » Aug 26th, '12, 11:00

If you don't provide any more information noone can tell ;)

Please at least show the output of
Code: Select all
mount
and
Code: Select all
ls -la /path/to/truecrypt/mountpoint
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installed TrueCrypt but unable to write into directory

Postby michel » Aug 26th, '12, 11:10

Code: Select all
[michel@localhost ~]$ mount
/dev/sda1 on / type ext4 (rw,relatime,user_xattr,commit=600,barrier=1,data=ordered)
/dev/sda6 on /home type ext4 (rw,relatime,user_xattr,commit=600,barrier=1,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb1 on /run/media/michel/624281e9-ba51-4c0e-9437-50bf54d2cf14 type ext3 (rw,nosuid,nodev,relatime,errors=continue,barrier=1,data=ordered)
truecrypt on /tmp/.truecrypt_aux_mnt1 type fuse.truecrypt (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other)


Code: Select all
[michel@localhost ~]$ ls -la /path/to/truecrypt/mountpoint
ls: cannot access /path/to/truecrypt/mountpoint: No such file or directory


Michel
Last edited by doktor5000 on Aug 26th, '12, 17:50, edited 2 times in total.
Reason: added code tags, to improve on clarity, removed unneccessary output, removed fullquote
michel
 
Posts: 52
Joined: Aug 25th, '12, 20:55

Re: Installed TrueCrypt but unable to write into directory

Postby michel » Aug 26th, '12, 11:18

I think it is a permission issue but I do not know how to change permissions in mageia.

Michel
michel
 
Posts: 52
Joined: Aug 25th, '12, 20:55

Re: Installed TrueCrypt but unable to write into directory

Postby michel » Aug 26th, '12, 12:36

The KDM add on alows me to run root commands and I managed to change permissions but I still cannot wrinte into the truecrypt folder.

Michel
michel
 
Posts: 52
Joined: Aug 25th, '12, 20:55

Re: Installed TrueCrypt but unable to write into directory

Postby michel » Aug 26th, '12, 14:03

OK did it!

I changed the permissions of the external hard drive where my truecrypt folder is located but that did not resolve the issue. I then noticed that when I mount my truecrypt folder, an entry "truecrypt1" is created in the /media directory. I changed the ownership and permission and now I can write to my truecrypt folder.

Michel
michel
 
Posts: 52
Joined: Aug 25th, '12, 20:55

Re: Installed TrueCrypt but unable to write into directory

Postby doktor5000 » Aug 26th, '12, 18:20

michel wrote:[michel@localhost ~]$ ls -la /path/to/truecrypt/mountpoint
ls: cannot access /path/to/truecrypt/mountpoint: No such file or directory


/path/to/truecrypt/mountpoint is only a placeholder, you need to adapt this to your system. How should we know where you mount that thing?
I've not used truecrypt since ages, so from your output i don't really know where the unencrypted content is now mounted.

Please post the output of
Code: Select all
ls -al /tmp/.truecrypt_aux_mnt1
and
Code: Select all
ls -al /run/media/michel/624281e9-ba51-4c0e-9437-50bf54d2cf14

FWIW, the permissions you changed will probably only be effective until you reboot, you need to change the mounting itself.
For your current fstab entry for truecrypt, it shows in the options user_id=0,group_id=0 which makes the contents of that thing being owned by root (user id 0)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Installed TrueCrypt but unable to write into

Postby michel » Aug 26th, '12, 19:52

I rebooted many times and trucrypt1 entry is always in /media.


Code: Select all
[michel@localhost ~]$ ls -al /tmp/.truecrypt_aux_mnt1
total 4
dr-x------  2 michel root            0 Aug 26 08:59 ./
drwxrwxrwt 35 root   root         4096 Aug 26 08:59 ../
-rw-------  1 michel root         1736 Aug 26 08:59 control
-rw-------  1 michel root 107373920256 Aug 26 08:59 volume



Code: Select all
[michel@localhost ~]$ ls -al /run/media/michel/624281e9-ba51-4c0e-9437-50bf54d2cf14
ls: cannot access /run/media/michel/624281e9-ba51-4c0e-9437-50bf54d2cf14: No such file or directory


Michel
Last edited by doktor5000 on Aug 26th, '12, 21:20, edited 1 time in total.
Reason: added code tags, to improve on clarity
michel
 
Posts: 52
Joined: Aug 25th, '12, 20:55

Re: [SOLVED] Installed TrueCrypt but unable to write into

Postby doktor5000 » Aug 26th, '12, 21:20

Then please show the output of
Code: Select all
ls -al /media

And use code tags when posting output etc. :ftp://ftp.mandrivauser.de/rpm/rpm/extra/test/code_tags.ogv
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Installed TrueCrypt but unable to write into

Postby michel » Aug 26th, '12, 21:30

This is what I get BEFORE launching truecrypt and AFTER I launch it


Code: Select all
[michel@localhost ~]$ ls -al /media
total 16
drwxr-xr-x  4 root   root   4096 Aug 26 10:21 ./
drwxr-xr-x 25 root   root   4096 Aug 26 09:55 ../
drwxrwxrwx  2 root   root   4096 Aug 25 03:31 624281e9-ba51-4c0e-9437-50bf54d2cf14/
drwxr-xr-x 46 michel michel 4096 Aug 26 03:15 624281e9-ba51-4c0e-9437-50bf54d2cf14_/

Code: Select all
[michel@localhost ~]$ ls -al /media
total 20
drwxr-xr-x  5 root   root   4096 Aug 26 10:36 ./
drwxr-xr-x 25 root   root   4096 Aug 26 09:55 ../
drwxrwxrwx  2 root   root   4096 Aug 25 03:31 624281e9-ba51-4c0e-9437-50bf54d2cf14/
drwxr-xr-x 46 michel michel 4096 Aug 26 03:15 624281e9-ba51-4c0e-9437-50bf54d2cf14_/
drwxr-xr-x  7 michel root   4096 Aug 26 08:57 truecrypt1/



Michel
Last edited by doktor5000 on Aug 26th, '12, 21:53, edited 1 time in total.
Reason: added code tags, to improve on clarity, removed unneccessary output
michel
 
Posts: 52
Joined: Aug 25th, '12, 20:55

Re: [SOLVED] Installed TrueCrypt but unable to write into

Postby doktor5000 » Aug 26th, '12, 21:58

doktor5000 wrote:And use code tags when posting output etc.: ftp://ftp.mandrivauser.de/rpm/rpm/extra/test/code_tags.ogv


I've fixed it in your previous post (again), please use them next time.

Now when you have launched truecrypt, please post the output of
Code: Select all
ls -al /media/truecrypt*

But altogether this sounds like something which should be changed by some setting in truecrypt itself, and not to be manually adjusted afterwards.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Installed TrueCrypt but unable to write into

Postby michel » Aug 26th, '12, 22:07

The command lists the content of my folder.

Michel
michel
 
Posts: 52
Joined: Aug 25th, '12, 20:55

Re: [SOLVED] Installed TrueCrypt but unable to write into

Postby doktor5000 » Aug 26th, '12, 23:23

So post the output here, at least for the .. and . "directory" entries, so we can see the current permissions.
As an example, here's mine for an external drive:

[doktor5000@Mageia2 ~]$ ls -al /media/EXTERN3
total 80
drwx------ 1 doktor5000 doktor5000 4096 Aug 26 18:58 ./
drwxr-xr-x 8 root root 4096 Aug 26 22:00 ../


This shows that the top directory of that NTFS partition is owned by my user and group.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18057
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Installed TrueCrypt but unable to write into

Postby michel » Aug 27th, '12, 11:54

Code: Select all
drwxr-xr-x 7 michel root  4096 Aug 26 11:13 ./
drwxr-xr-x 4 root   root  4096 Aug 27 01:00 ../
michel
 
Posts: 52
Joined: Aug 25th, '12, 20:55


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest