search for: gid_non

Displaying 4 results from an estimated 4 matches for "gid_non".

Did you mean: gid_none
2006 Jun 02
3
[PATCH] --omit-dir-changes, qsort<>mergesort issues
..._uid && am_root && file->uid != st->st_uid) + if (preserve_uid && am_root && file->uid != st->st_uid + && !(S_ISDIR(st->st_mode) && omit_dir_changes)) iflags |= ITEM_REPORT_OWNER; - if (preserve_gid && file->gid != GID_NONE - && st->st_gid != file->gid) + if (preserve_gid && file->gid != GID_NONE && st->st_gid != file->gid + && !(S_ISDIR(st->st_mode) && omit_dir_changes)) iflags |= ITEM_REPORT_GROUP; } else iflags |= ITEM_IS_NEW; @@ -891,7...
2004 Sep 15
0
[Bug 1764] New: dry-run does not show changes in owner / group, permission, or timestamp
...} /* don't complain about not setting times on directories * because some filesystems can't do it */ if (set_modtime(fname,file->modtime) != 0 && @@ -157,6 +160,10 @@ change_gid = preserve_gid && file->gid != GID_NONE && st->st_gid != file->gid; if (change_uid || change_gid) { + if (dry_run) { + rprintf(FINFO,"chown: %s\n",fname); + return 0; + } if (verbose > 2) {...
2004 Jan 25
2
scan for first existing hard-link file
...+/* These flist flags can be set after the flist is transferred. */ + +/*#define FLAG_DELETE (1<<0) -- from the above list */ +#define FLAG_HLINK_LAST (1<<1) + /* update this if you make incompatible changes */ #define PROTOCOL_VERSION 28 @@ -384,7 +389,7 @@ enum msgcode { #define GID_NONE (gid_t) -1 struct hlink { - struct file_struct *head; + int index; struct file_struct *next; }; @@ -396,7 +401,7 @@ struct idev { #define F_DEV link_u.idev->dev #define F_INODE link_u.idev->inode -#define F_HEAD link_u.links->head +#define F_INDEX link_u.links->index #defi...
2004 Apr 20
1
improved atime patch
...ROR, "failed to set times on %s: %s\n", full_fname(fname), strerror(errno)); return 0; - } + } else { updated = 1; } + } change_uid = am_root && preserve_uid && st->st_uid != file->uid; change_gid = preserve_gid && file->gid != GID_NONE @@ -236,7 +251,7 @@ return; /* move tmp file over real file */ - ret = robust_rename(fnametmp, fname, file->mode & INITACCESSPERMS); + ret = robust_rename(fnametmp, fname, 0600); if (ret < 0) { rprintf(FERROR, "%s %s -> \"%s\": %s\n", ret == -2 ?...