Displaying 3 results from an estimated 3 matches for "uf_immutable".
Did you mean:
sf_immutable
2008 Mar 02
3
congrats!
Thanks Wayne and everybody,
This is a huge boost to have a modern rsync for OSX. We're all
grateful. Rob D
PS I did notice that we lost the bsd flags test in 3.0. It was ok in
pre10.... thanks again
bbouncer
Verifying: basic-permissions ... ok
Verifying: timestamps ...
Sub-test: modification time ... ok
ok
Verifying: symlinks ... ok
Verifying:
2007 Mar 28
1
rsync patch -flags fails to compile on Mac OSX
...exist on this platform.
sys/stat.h only gives the following flags
* Definitions of flags stored in file flags word.
*
* Super-user and owner changeable flags.
*/
#define UF_SETTABLE 0x0000ffff /* mask of owner changeable flags */
#define UF_NODUMP 0x00000001 /* do not dump file */
#define UF_IMMUTABLE 0x00000002 /* file may not be changed */
#define UF_APPEND 0x00000004 /* writes to file may only append */
#define UF_OPAQUE 0x00000008 /* directory is opaque wrt. union */
/*
* Super-user changeable flags.
*/
#define SF_SETTABLE 0xffff0000 /* mask of superuser changeable flags */
#define SF_AR...
2008 Feb 15
4
Revised flags patch
...erve_times;
extern int am_root;
@@ -60,6 +61,16 @@ iconv_t ic_chck = (iconv_t)-1;
iconv_t ic_send = (iconv_t)-1, ic_recv = (iconv_t)-1;
# endif
+#ifdef SUPPORT_FLAGS
+#ifndef UF_NOUNLINK
+#define UF_NOUNLINK 0
+#endif
+#ifndef SF_NOUNLINK
+#define SF_NOUNLINK 0
+#endif
+#define NOCHANGE_FLAGS (UF_IMMUTABLE|UF_APPEND|UF_NOUNLINK|SF_IMMUTABLE|SF_APPEND|SF_NOUNLINK)
+#endif
+
static const char *default_charset(void)
{
# if defined HAVE_LIBCHARSET_H && defined HAVE_LOCALE_CHARSET
@@ -338,6 +349,41 @@ mode_t dest_mode(mode_t flist_mode, mode
return new_mode;
}
+#ifdef SUPPORT_FLAGS
+/* Set...