Hi,

I use for the cyrus maildir encfs and all works fantastic. But there is
one problem with the permissions on the encrypted files. I want to
backup the encrypted files as normal user in the group root, but the
group hasn't any privileges (see below). It seems that encfs uses its
own umask instead of the default umask (022). The --public argument
isn't the solution, because the permissions no longer exist for cyrus.

How can I solve this problem? Any suggestion are welcome!

My configuration:

fstab:
/home/xxx/encfs_config/.encfs_wrapper_1.sh#/mnt/files/ /home/xx/ENCFS_2
fuse defaults,kernel_cache 0 0

.encfs_wrapper_1.sh:
#!/bin/sh
KEYFILE=/home/xx/encfs_config/.encfs_pw
ENCFS6_CONFIG="/home/xx/encfs_config/.encfs_1.xml" /usr/bin/encfs
--extpass="cat $KEYFILE" -o allow_other -o uid=113 -o gid=8 -o umask=007 $*

decrypted file:
-rwxrwx--- 1 cyrus mail  2,8K Mär 11 21:00 6669.

encrypted file:
-rw------- 1 root root  2,8K Mär 11 21:00 Z0UdN7DIuSI1LVamSDPR3bRM

Thanks,
Michael


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Encfs-users mailing list
Encfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/encfs-users

Reply via email to