Displaying 2 results from an estimated 2 matches for "eperm_error_get_chgrp".
2009 Jul 06
1
Unable to (un)subscribe mbox with AIX, NFS and netapp filer
...00 +0200
@@ -780,7 +780,7 @@
fd = file_dotlock_open(set, path, flags, &dotlock);
umask(old_mask);
- if (fd != -1) {
+ if (fd != -1 && (uid != -1 || gid != -1)) {
if (fchown(fd, uid, gid) < 0) {
if (errno == EPERM && uid == (uid_t)-1) {
i_error("%s", eperm_error_get_chgrp("fchown",
Ralf
--
______________________________________________________________________
Dipl.-Inform. (FH) Ralf Becker Rechenzentrum (r/ft) der FH Trier
(Network|Mail|Web|Firewall) University of applied sciences
Administrator Schneidershof...
2010 Oct 05
2
Feature request for maildir style boxes
...aildir-uidlist.c
1412: if (box->file_create_gid != (gid_t)-1 &&
fchown(fd, (uid_t)-1, box->file_create_gid) < 0) {
if (errno == EPERM) {
mail_storage_set_critical(box->storage, "%s",
eperm_error_get_chgrp("fchown", temp_path,
box->file_create_gid,
box->file_create_gid_origin));
} else {
mail_storage_set_critical(box->storage,...