search for: sysxattr

Displaying 20 results from an estimated 20 matches for "sysxattr".

Did you mean: sysxattrs
2010 Sep 21
1
Old FreeBSD4.11 build.
...I then run make where I get the following error: ... gcc -I. -I. -static -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/pool_alloc.c -o lib/pool_alloc.o gcc -I. -I. -static -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/sysacls.c -o lib/sysacls.o gcc -I. -I. -static -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/sysxattrs.c -o lib/sysxattrs.o lib/sysxattrs.c: In function `sys_lgetxattr': lib/sysxattrs.c:85: warning: implicit declaration of function `extattr_get_link' lib/sysxattrs.c:85: `EXTATTR_NAMESPACE_USER' undeclared (first use in this function) lib/sysxattrs.c:85: (Each undeclared identifier is re...
2008 Jun 22
3
Xattrs and Delete over AFP
Hello group, I have an OSX 10.3.9 Server that I'm trying to back up with rsync 3.0.2. Since I didn't have any luck with the 10.3.9 patch and I do have 10.4 clients, I decided to try running the backup over AFP (Apple's file sharing protocol). I found a way to mount the AFP volume with root permissions and rsync 3.0.2 works very nicely using this on the 10.4 clients, preserving
2009 Sep 09
3
DO NOT REPLY [Bug 6701] New: permission of attributes are not preserved
...f the backup"... In this case a quick solution could be creating the xattr with read permission for "other", but the problem is more general. I think that -X beavhiour should be: - for every user preserve permissions - for root preserve permission and ownerships diff --git a/lib/sysxattrs.c b/lib/sysxattrs.c index d55ee0c..c9a38cd 100644 --- a/lib/sysxattrs.c +++ b/lib/sysxattrs.c @@ -191,7 +191,7 @@ int sys_lsetxattr(const char *path, const char *name, const { int attrfd; size_t bufpos; - mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; + mode_t m...
2009 Jul 27
1
supporting --fake-super on opensolaris (zfs) destination
...valli CILEA - via R. Sanzio 4, 20090 - Segrate (MI), Italy phone: +39 02 26995.1 - fax: +39 02 2135520 - skype: enricocavalli GTalk/Jabber/iChat: enrico.cavalli at gmail.com PGP Fingerprint: 3762 7B1B 743E 029C 8F94 8ADE BC4B 43A7 0485 30E5 -------------- next part -------------- diff --git a/lib/sysxattrs.c b/lib/sysxattrs.c index 12e456e..8655760 100644 --- a/lib/sysxattrs.c +++ b/lib/sysxattrs.c @@ -128,7 +128,155 @@ ssize_t sys_llistxattr(const char *path, char *list, size_t size) #else -#error You need to create xattr compatibility functions. +ssize_t sys_lgetxattr(const char *path, const...
2009 Jan 21
3
Rsync with OS X 10.3
...e converted to colons (":") in the filesystem and we need to reconvert them to slashes in order to pass them correctly as argument for the FSMakeFSRefUnicode function. As you can see, we are looking for the most efficient way to do it. If you want to be sure it works, modify /lib/sysxattrs.c including this code on fsreffrompath function: = if(verbose > 3) = fprintf(stderr, "name=%s\n",startOfName); + nameLength=strlen(startOfName); + strcpy(name, startOfName); + while(index<nameLength) + { + if(name[index]==':') + name[index]='/'; + index++;...
2023 Jun 10
0
[Bug 15393] New: rsync attempts to set extended attributes while in dry-run
...seems to come from: source file generator.c in function recv_generator (line 1489) https://github.com/WayneD/rsync/blob/v3.2.7/generator.c#L1489 The error seems to be either: recv_generator (in generator.c) calling copy_xattrs when it should not or copy_xattrs (in xattrs.c) / sys_lsetxattr (in lib/sysxattrs.c) not checking the dry-run flag similarly to the functions in syscall.c do -- You are receiving this mail because: You are the QA Contact for the bug.
2007 Oct 24
0
Are extended attributes supported under cygwin for rsync 3.0 pre2 ?
...pre-2 release of rsync. No problem there if I just do "./configure", then "make"... everything works great. However, when I run: "./configure --enable-xattr-support" I get a message saying: "Failed to find extended attribute support" I also see in the sysxattrs.c file that there are coded functions for Linux, OSX and FreeBSD... all others result in a compile error of "You need to create xattr compatibility functions." Does that mean that (for now) there's no extended attribute support for Windows (and thus no support of --fake-super, et...
2013 Nov 16
2
[Bug 10272] New: resource fork handling is broken in 3.1.0
https://bugzilla.samba.org/show_bug.cgi?id=10272 Summary: resource fork handling is broken in 3.1.0 Product: rsync Version: 3.1.0 Platform: All OS/Version: Mac OS X Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: bugzilla-samba at
2009 Jan 20
0
rsync 3.0.4 patches for 10.3
.../" when storing the filename on disk. > > If you pass a filename from a Posix API to a Carbon API you must > convert any colons to slashes. So I added code to do this and it > solved my problems. I added code to substitute colons for slashes > inside fsreffrompath() in lib/sysxattrs.c > > I hesitate to provide a patch because I am really unsure if I did it > well. I copy the filename to a temporary string, do the substitution > and then pass the temp string to CFStringCreateWithCString(). I > think a better approach would be to scrap my changes and do the...
2007 Apr 07
2
xattrs questions
I see that rsync will eventually support extended attributes, which will be great. But: will it allow backup from a file system that supports xattrs, to one that does not? For this to work, rsync would have to represent the xattrs on the destination machine in some special format, I suppose, which is outside the usual rsync mode of operation. Moreover, even if both machines support
2010 Feb 08
7
DO NOT REPLY [Bug 7109] New: Need to define NO_SYMLINK_XATTR on Linux
...d on Linux. See: http://git.savannah.gnu.org/cgit/attr.git/tree/man/man5/attr.5?id=1cc88bd4c17ef99ace22c8be362d513f155b1387#n116 It would be nice to have a portable configure test rather than hard-coding the value for each OS. Unfortunately, the test may need to use the abstraction layer in lib/sysxattrs.c, which would not be available at configure time without special tricks. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
2007 Dec 02
3
creation date and OSX
Hi, I've been using rsync (OSX Tiger now Leopard) to backup my home folder daily using -a -H -A -X link-dest=dir to make incremental backups. There was a problem though since many files especially images, movies etc would be recopied each time instead of creating hard links. I have been testing the pre5 release and found that it seems to make hard links correctly for all files. I
2013 Feb 14
6
Direct I/O support (patches included)
Hi, Since a --direct-io feature was requested a few times the past decade with little response and the actual patch is quite trivial, I patched both v3.0.9 and master branch and included the patches here. If this functionality is acceptable I don't mind spending the additional effort to update the documentation, etc. Beware that the underlying filesystem needs Direct I/O support,
2010 Aug 17
6
DO NOT REPLY [Bug 7625] New: "Don't know how to make ./*.c"
https://bugzilla.samba.org/show_bug.cgi?id=7625 Summary: "Don't know how to make ./*.c" Product: rsync Version: 3.0.7 Platform: s390 OS/Version: Other Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned at samba.org ReportedBy: sebastian.hoffman at
2020 May 20
0
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
....o > -OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_ZLIB@ > @BUILD_POPT@ > +OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(CXXOBJ) $(DAEMON_OBJ) $(LIBOBJ) > @BUILD_ZLIB@ @BUILD_POPT@ > > TLS_OBJ = tls.o syscall.o t_stub.o lib/compat.o lib/snprintf.o > lib/permstring.o lib/sysxattrs.o @BUILD_POPT@ > > diff --git a/checksum.c b/checksum.c > index cd234038..7c42742a 100644 > --- a/checksum.c > +++ b/checksum.c > @@ -99,6 +99,7 @@ int canonical_checksum(int csum_type) > return csum_type >= CSUM_MD4 ? 1 : 0; > } > > +#ifndef ENABLE_SSE2 // se...
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
2020 May 18
3
[PATCH] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
What do you base this on? Per https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html : "For the x86-32 compiler, you must use -march=cpu-type, -msse or -msse2 switches to enable SSE extensions and make this option effective. For the x86-64 compiler, these extensions are enabled by default." That reads to me like we're fine for SSE2. As stated in my comments, SSSE3 support must be
2020 May 19
5
[PATCHv2] SSE2/SSSE3 optimized version of get_checksum1() for x86-64
...\ popt/popthelp.o popt/poptparse.o -OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_ZLIB@ @BUILD_POPT@ +OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(CXXOBJ) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_ZLIB@ @BUILD_POPT@ TLS_OBJ = tls.o syscall.o t_stub.o lib/compat.o lib/snprintf.o lib/permstring.o lib/sysxattrs.o @BUILD_POPT@ diff --git a/checksum.c b/checksum.c index cd234038..7c42742a 100644 --- a/checksum.c +++ b/checksum.c @@ -99,6 +99,7 @@ int canonical_checksum(int csum_type) return csum_type >= CSUM_MD4 ? 1 : 0; } +#ifndef ENABLE_SSE2 // see checksum_sse2.cpp /* a simple 32 bit checksu...
2020 May 22
2
[PATCH] Optimized assembler version of md5_process() for x86-64
...popt/poptparse.o -OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(CXXOBJ) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_ZLIB@ @BUILD_POPT@ +OBJS=$(OBJS1) $(OBJS2) $(OBJS3) $(CXXOBJ) $(ASMOBJ) $(DAEMON_OBJ) $(LIBOBJ) @BUILD_ZLIB@ @BUILD_POPT@ TLS_OBJ = tls.o syscall.o t_stub.o lib/compat.o lib/snprintf.o lib/permstring.o lib/sysxattrs.o @BUILD_POPT@ @@ -126,6 +128,9 @@ rounding.h: rounding.c rsync.h proto.h checksum_simd_x86_64.o: checksum_simd_x86_64.cpp $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c -o $@ $< +lib/md5_asm_x86_64.o: lib/md5_asm_x86_64.s + $(CC) -c -o $@ $< + tls$(EXEEXT): $(TLS_OBJ) $(CC) $(CFLAGS) $(LDFLAGS)...
2020 Feb 09
2
[RFC PATCH] Add SHA1 support
...onfig.h errcode.h proto.h rsync.h ifuncs.h itypes.h inums.h \ lib/pool_alloc.h -LIBOBJ=lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o \ +LIBOBJ=lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o lib/sha1.o \ lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o @LIBOBJS@ zlib_OBJS=zlib/deflate.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o \ zlib/trees.o zlib/zutil.o zlib/adler32.o zlib/compress.o zlib/crc32.o diff --git a/checksum.c b/checksum.c index 3295252ba0120..77c36b59c93ec 100644 --- a/checksum.c +++ b/checksum.c @@ -32,6 +32,7 @@ extern ch...