search for: support_xattrs

Displaying 8 results from an estimated 8 matches for "support_xattrs".

2003 Jun 25
3
patch draft for extended attributes on linux
...t; + Copyright (C) 2001-2003 by Martin Pool <mbp@samba.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -422,6 +422,12 @@ static void send_file_entry(struct file_ } #endif +#if SUPPORT_XATTRS + if (opt_xattr) { + xalist_send(f, file->xattrs); + } +#endif + #if SUPPORT_HARD_LINKS if (preserve_hard_links && S_ISREG(file->mode)) { if (remote_version < 26) { @@ -457,7 +463,9 @@ static void send_file_entry(struct file_ } - +/** + * Thi...
2010 Jun 02
1
DO NOT REPLY [Bug 7489] New: rsyncd segfaults using daemon exclude filter
...nerator.c *** generator.c.orig 2009-04-26 08:51:50.000000000 -0600 --- generator.c 2010-06-02 15:04:36.000000000 -0600 *************** *** 1300,1305 **** --- 1300,1311 ---- skip_dir = NULL; } + #ifdef SUPPORT_ACLS + sx.acc_acl = sx.def_acl = NULL; + #endif + #ifdef SUPPORT_XATTRS + sx.xattr = NULL; + #endif if (daemon_filter_list.head && (*fname != '.' || fname[1])) { if (check_filter(&daemon_filter_list, FLOG, fname, is_dir) < 0) { if (is_dir < 0) *************** *** 1317,1328 ****...
2009 Jul 27
1
supporting --fake-super on opensolaris (zfs) destination
...o make rsync-based backups retaining complete ownership permission when writing to an opensolaris machine using --fake-super. My goal is making backups of linux boxes to opensolaris/zfs. In order to make it work just do patch -p1 < patch_file.txt inside rsync source tree. and set #define SUPPORT_XATTRS 1 in config.h I tested the patch with rsync 3.0.6 and the last git commit. Disclaimer: 1) I'm not a filesystem programmer 2) the patch is surely full of nasty bugs and could be insecure/break your systems. etc etc. 3) even if you define SUPPORT_XATTRS, rsync -X won't work TODO -...
2012 Jun 09
2
[patch] NFSv4/ZFS ACLs
This is a PoC patch for NFSv4/ZFS ACLs. The objective of the patch is that rsync --acls support NFSv4/ZFS ACLs without requiring a new command line option NFSv4 ACLs can't be represented using POSIX draft ACLs, if an NFSv4 ACL is present a separate POSIX draft ACL will not be present and there are new APIs to access NFSv4 ACLs. So we need to distinguish between NFSv4 ACLs and POSIX ACLs in
2008 Dec 16
2
DO NOT REPLY [Bug 5974] New: configure --help does not document xattr support properly
https://bugzilla.samba.org/show_bug.cgi?id=5974 Summary: configure --help does not document xattr support properly Product: rsync Version: 3.0.4 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org
2009 Sep 18
0
rsync-3.0.6 on cygwin-1.7
...@@ if test x"$enable_xattr_support" = x"no" AC_MSG_RESULT(no) else case "$host_os" in - *linux*) + *linux* | *cygwin*) AC_MSG_RESULT(Using Linux xattrs) AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs]) AC_DEFINE(SUPPORT_XATTRS, 1) -- Lapo Luchini - http://lapo.it/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 896 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/rsync/attachments/20090918/82315782/at...
2013 Nov 28
3
[Bug 10295] New: do_lchown() after set_xattr() causes xattrs to be dropped on Linux 3.10.20.
...fs/open.c around the 500th line. It appears that the SET{G,U}ID bits and security attrs are cleared. Relevant kernel line: if (!S_ISDIR(inode->i_mode)) newattrs.ia_valid |= ATTR_KILL_SUID | ATTR_KILL_SGID | ATTR_KILL_PRIV; Suggestion: move the SUPPORT_XATTRS code invocation after the if (change_uid... block. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...izing, code, f_out); #endif - return; - } - } + return; + } else + skip_dir = NULL; if (server_filter_list.head) { if (check_filter(&server_filter_list, fname, is_dir) < 0) { @@ -1298,7 +1302,8 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, #ifdef SUPPORT_XATTRS sx.xattr = NULL; #endif - if (dry_run > 1) { + if (dry_run > 1 || (dry_missing_dir && is_below(file, dry_missing_dir))) { + parent_is_dry_missing: if (fuzzy_dirlist) { flist_free(fuzzy_dirlist); fuzzy_dirlist = NULL; @@ -1307,14 +1312,18 @@ static void recv_generator(c...