Searched refs:file_create_gid (Results 1 - 21 of 21) sorted by relevance

/dovecot/src/lib-storage/
H A Dmail-copy.c131 src_perm->file_create_gid == dest_perm->file_create_gid &&
H A Dmailbox-uidvalidity.c53 if (perm.file_create_gid != (gid_t)-1 &&
54 fchown(fd, (uid_t)-1, perm.file_create_gid) < 0) {
57 perm.file_create_gid,
61 path, (long)perm.file_create_gid);
H A Dmailbox-list.c151 list->root_permissions.file_create_gid = (gid_t)-1;
966 permissions_r->file_create_gid = (gid_t)-1;
970 permissions_r->file_create_gid = (gid_t)-1;
973 permissions_r->file_create_gid = (gid_t)-1;
975 permissions_r->file_create_gid = st.st_gid;
978 permissions_r->file_create_gid != (gid_t)-1) {
989 permissions_r->file_create_gid = (gid_t)-1;
1009 permissions_r->file_create_gid = (gid_t)-1;
1066 permissions_r->file_create_gid == (gid_t)-1 ? "default" :
1067 dec2str(permissions_r->file_create_gid));
[all...]
H A Dmailbox-list.h179 gid_t file_create_gid; member in struct:mailbox_permissions
180 /* origin (e.g. path) where the file_create_gid was got from */
H A Dmail-storage.c2735 box->_perm.file_create_gid = (gid_t)-1;
2753 box->_perm.file_create_gid,
2799 if (perm->file_create_gid != (gid_t)-1) {
2800 if (fchown(fd, (uid_t)-1, perm->file_create_gid) == 0) {
2805 perm->file_create_gid,
2832 perm->file_create_gid,
3035 set.gid = perm->file_create_gid;
/dovecot/src/lib-storage/index/dbox-multi/
H A Dmdbox-file.c333 } else if (perm.file_create_gid == (gid_t)-1) {
335 } else if (fchown(fd, (uid_t)-1, perm.file_create_gid) < 0) {
339 perm.file_create_gid,
344 path, (long)perm.file_create_gid);
H A Dmdbox-map.c148 perm.file_create_gid,
/dovecot/src/lib-storage/index/dbox-single/
H A Dsdbox-file.c258 perm->file_create_gid,
272 } else if (perm->file_create_gid == (gid_t)-1) {
274 } else if (fchown(fd, (uid_t)-1, perm->file_create_gid) < 0) {
278 perm->file_create_gid,
283 path, (long)perm->file_create_gid);
/dovecot/src/lib-storage/index/maildir/
H A Dmaildir-storage.c177 perm->file_create_gid,
412 if (fchown(fd, (uid_t)-1, perm->file_create_gid) < 0) {
416 perm->file_create_gid,
493 if (perm->file_create_gid != (gid_t)-1) {
494 if (fchown(fd, (uid_t)-1, perm->file_create_gid) == 0) {
499 perm->file_create_gid,
H A Dmaildir-keywords.c316 if (st.st_gid != perm->file_create_gid &&
317 perm->file_create_gid != (gid_t)-1) {
318 if (fchown(fd, (uid_t)-1, perm->file_create_gid) < 0) {
322 perm->file_create_gid,
H A Dmaildir-util.c183 if (mkdir_chgrp(path, perm->dir_create_mode, perm->file_create_gid,
H A Dmaildir-save.c382 } else if (perm->file_create_gid != (gid_t)-1) {
383 if (fchown(fd, (uid_t)-1, perm->file_create_gid) < 0) {
388 perm->file_create_gid,
H A Dmaildir-uidlist.c1427 if (perm->file_create_gid != (gid_t)-1 &&
1428 fchown(fd, (uid_t)-1, perm->file_create_gid) < 0) {
1432 perm->file_create_gid,
/dovecot/src/lib-storage/list/
H A Dmailbox-list-fs.c381 perm.file_create_gid,
453 new_perm.file_create_gid != old_perm.file_create_gid)) {
465 new_perm.file_create_gid,
H A Dsubscription-file.c145 perm.file_create_gid,
160 perm.file_create_gid,
H A Dmailbox-list-maildir.c446 new_perm.file_create_gid != old_perm.file_create_gid)) {
H A Dmailbox-list-index.c84 perm.file_create_gid,
/dovecot/src/plugins/acl/
H A Dacl-backend-vfile-acllist.c248 perm.file_create_gid,
255 perm.file_create_gid,
H A Dacl-backend-vfile-update.c41 perm.file_create_gid,
/dovecot/src/plugins/quota/
H A Dquota-maildir.c252 perm.file_create_gid = (gid_t)-1;
271 perm.file_create_gid,
278 perm.file_create_gid,
286 perm.file_create_gid,
/dovecot/src/plugins/fts-squat/
H A Dfts-backend-squat.c143 perm->file_create_gid);

Completed in 763 milliseconds