← Back to team overview

ecryptfs team mailing list archive

[Bug 247421] Re: ecryptfs-utils private directory should support translations of "Private"

 

I've had a simple look at the code.
grep showed these:

debian/patches/40-zero_out_grep_options.dpatch: PRIVATE_DIR="Private"
src/pam_ecryptfs/pam_ecryptfs.c:#define PRIVATE_DIR "Private"
src/utils/ecryptfs-setup-private:PRIVATE_DIR="Private"
src/utils/mount.ecryptfs_private.c:#define PRIVATE_DIR "Private"
src/utils/ecryptfs-umount-private:PRIVATE_DIR="Private"
src/utils/ecryptfs-mount-private:PRIVATE_DIR="Private"

from bash scripts you can get an xdg dir using the bash script "xdg-user-dir PRIVATE" (after having set it into .config/user-dirs.dirs)
and in the 2 .c files you can change the macro to g_get_user_special_dir (G_USER_DIRECTORY_PRIVATE), after patching glib to add the new directory.

-- 
ecryptfs-utils private directory should support translations of "Private"
https://bugs.launchpad.net/bugs/247421
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: Triaged

Bug description:
Binary package hint: ecryptfs-utils

At https://wiki.ubuntu.com/EncryptedPrivateDirectory
Milan71 wrote:
"I'd like to know whether you've thought about a way of translating the name of this directory? It would be good if this 'Private' dir was included in the XDG User Dirs specification, since it is a common use case. But waiting for this, you may need something like a patch for xdg-user-dirs update to achieve this."