Comment 7 for bug 247421

Revision history for this message
Nicolò Chieffo (yelo3) wrote :

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.