characters missing in mount directory path

Bug #1275723 reported by Felix Albrecht
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Gnome Encfs Manager

Bug Description


I am running version under openSuse 13.1 and I have encountered the following problem:
I wanted to mount something under /home/$USER/Documents (where $USER is my actual username) but after setting things up it was mounted under /home/$USER/ocuments (note the missing D).
If I enter /home/$USER/DDocuments (note the double DD) everything works fine (at least if I do not touch the config afterwards).
Since it works once it is being set up I assume a problem with the 'Create or import stash' dialog.



Revision history for this message
Felix Albrecht (ftalbrecht-deactivatedaccount) wrote :

Btw, I do not have the same problem under arch, where I installed from the AUR:

Revision history for this message
Moritz Molch (mmolch) wrote :

Thank you for reporting your issue.
Unfortunately I also can't reproduce this issue on my Ubuntu systems.
I will look into this the next time I have an openSUSE installation lying around.

For the record, have you specified the /home/$USER/Documents directory using the complete path or have you used a syntax like ~/Documents?

Regards, Moritz

Changed in gencfsm:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Felix Albrecht (ftalbrecht-deactivatedaccount) wrote :

I did specify the full path (with $USER replaced by my actual username). What I just noticed is that under arch I specified the mount_dir_base to be $HOME, so he automatically suggested the correct path in the creation dialog. I am not sure wether I did the same under openSuse. Unfortunately I do not have that installation available any more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for GEncfsM because there has been no activity for 60 days.]

Changed in gencfsm:
status: Incomplete → Expired
Revision history for this message
GauteHope (eg) wrote :

This bug is still present for me, using arch linux.

Changed in gencfsm:
status: Expired → Confirmed
Revision history for this message
Moritz Molch (mmolch) wrote :

Could you please add a detailed step-by-step instruction on how to reproduce this?

Revision history for this message
GVS (gvscheik1-g) wrote :

I am using Xubuntu Trusty, and have the same problem. The only way I can get a stash to work correctly is if the mount_base_dir is set to $HOME/Encfs. I can create the stash where I want, but if I change the mount base the bug runs rampant.

And, it can get pretty messy if the mount_base_dir is a long path. On my system, not only is the stash folder first character truncated as per the bug, and nothing is actually stashed as no valid stash is created, but several (like 6 or 8 depending on the length of the path) folders are created under one's $Home folder that are named a single letter of the above path...

For example: setting the mount_base_dir variable to: "/media/personal/multimedia/private/data", and the mount directory to: "/media/personal/multimedia/private/data/encfs" created 8 folders in my $HOME folder all named as a single letter, and all had a sub-folder named "encfs" ...

Again, changing the mount_base_dir to anything other than default creates this problem 100% of the time on my system.

BTW, it also occurs on my son's Peppermint (up to date) latop.

Revision history for this message
Moritz Molch (mmolch) wrote :

Unfortunately I still can't reproduce this. I tried to recreate your setup and created the directory
"/media/personal/multimedia/private/data", set the mount_dir_base accordingly and restarted GEncfsM. Then I created some stashes but didn't run into any issues.

Could you post the outputs of 'dconf read /com/libertyzero/gnome-encfs-manager/mount-dir-base', 'dconf read /com/libertyzero/gnome-encfs-manager/stashes' and 'gnome-encfs-manager list_stashes'?

For reference, this is how it looks on my testing system:

user@Ubuntu:~$ dconf read /com/libertyzero/gnome-encfs-manager/mount-dir-base
user@Ubuntu:~$ dconf read /com/libertyzero/gnome-encfs-manager/stashes
[('/home/user/some_stash', 'encfs', false, false, false, false, false, 5, true, '.encfs6.xml', false, '')]
user@Ubuntu:~$ gnome-encfs-manager list_stashes
/media/personal/multimedia/private/data/encfs » /home/user/some_stash

Also, for clarification, is the stash folder truncated or the mount folder because you wrote "... is the stash folder first character truncated ..."?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.