Storage Volume Permissions

Hello Team.
I mount a storage volume to

/home/user-data

Which permissions i need? The Volume works with permission 777, but i dont like 777.
Roundcube works only, if i set permission to 777 in:

/home/user-data/mail/roundcube
/home/user-data/mail/roundcube/roundcube.sqlite
/home/user-data/mail/mailboxes

But why Roundcube need 777?
I can not make the /mnt folder all 777, because in /user-data, the ssl files is stored ,too.

I learned for the folders 755, and the files 644.

find /mnt -type d -print0 | xargs -0 chmod 0755 -c
find /mnt -type f -print0 | xargs -0 chmod 0644 -c

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.