429
453
gid_t g = i->access.creat_gid;
430
454
if(u == ((uid_t)(-1))) u=uid; if(g == ((gid_t)(-1))) g=gid;
431
455
logger.msg(Arc::VERBOSE, "open: changing owner for %s, %i, %i", fname, u, gid);
433
457
/* adjust permissions because open uses umask */
435
459
i->access.creat_perm_or & i->access.creat_perm_and);