search for: setattrlist

Displaying 10 results from an estimated 10 matches for "setattrlist".

Did you mean: getattrlist
2007 Oct 16
1
lchmod for osx (was: Symlinks in OS X (10.4.1))
...rlist attrList; uint32_t m; /* manpage is wrong! not mode_t, but uint32_t is required */ memset(&attrList, 0, sizeof(attrList)); attrList.bitmapcount = ATTR_BIT_MAP_COUNT; attrList.commonattr = ATTR_CMN_ACCESSMASK; m = mode; return setattrlist(path, &attrList, &m, sizeof(m), FSOPT_NOFOLLOW); } int main(int argc, const char **argv) { struct stat st; const char *file; int perms; file = argv[1]; perms = strtol(argv[2], 0, 0); if (lstat(file, &st) != 0) {...
2008 Jun 20
1
supporting HFS+ attributes and forks on a Linux rsync server?
...`set_create_time': syscall.c:418: storage size of `attrList' isn't known syscall.c:428: `ATTR_BIT_MAP_COUNT' undeclared (first use in this function) syscall.c:429: `ATTR_CMN_CRTIME' undeclared (first use in this function) syscall.c:430: warning: implicit declaration of function `setattrlist' syscall.c:430: `FSOPT_NOFOLLOW' undeclared (first use in this function) syscall.c:418: warning: unused variable `attrList' ...which, I suppose, makes sense since Linux doesn't use HFS+. This Linux box already has an rsync that supports extended atttibutes. From its version strin...
2007 Oct 14
3
Symlinks in OS X (10.4.1)
Hi, is there a way to ignore the permissions for symlinks but compare the permissions for regular files and change them accordingly? The problem is that using OS X every time I run rsync it tries to update the permissions for the symlinks but the changes are not made since OS X has no support for symlink permissions. Therefore it would like to somehow ignore symlink permissions. Thanks, Mario
2008 Mar 05
0
--fake-super and xattr between Linux and Solaris 10
...Solaris, attribute support doesn't appear to be enabled: -bash-3.00$ ./configure --prefix=/home/coreyfro | grep attr checking sys/attr.h usability... no checking sys/attr.h presence... no checking for sys/attr.h... no checking for getxattr... no checking for extattr_get_link... no checking for setattrlist... no checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no checking sys/xattr.h usability... no checking sys/xattr.h presence... no checking for sys/xattr.h... no checking sys/extattr.h usability... no checking sys/extattr.h presence... no check...
2008 Feb 25
0
Fwd: Making rsync compile under Mac OS X 10.3.9 with extended attributes
...17/2008 21:58:36 > > If I rerun the rsync it makes no error. If I run rsync for the first > time without -X option it makes no error neither. What's strange is > that the time setting have nothing to do with my mods. > What I've seen is that crtimes patch uses getattrlist/setattrlist > that I'm avoiding because it doesn't have the same behaviour on 10.3 > and 10.4 (man getattrlist doesn't even exist on 10.3, the function > was undocumented). But I don't know why it doesn't bug running > without -X, as crtimes.diff is still active. There i...
2008 Feb 15
4
Revised flags patch
...oups setgroups geteuid getegid \ setlocale setmode open64 lseek64 mkstemp64 mtrace va_copy __va_copy \ - strerror putenv iconv_open locale_charset nl_langinfo getxattr \ + chflags strerror putenv iconv_open locale_charset nl_langinfo getxattr \ extattr_get_link sigaction sigprocmask setattrlist) dnl cygwin iconv.h defines iconv_open as libiconv_open diff -brpu rsync-3.0.0pre9/configure.sh rsync-3.0.0pre9-flags/configure.sh --- rsync-3.0.0pre9/configure.sh Mon Feb 11 05:16:36 2008 +++ rsync-3.0.0pre9-flags/configure.sh Fri Feb 15 20:15:52 2008 @@ -14794,7 +14794,7 @@ for ac_func in wait...
2008 Mar 04
1
Several changes missing from [HEAD] fileflags.diff
...gt; setlocale setmode open64 lseek64 mkstemp64 mtrace va_copy > __va_copy \ > - strerror putenv iconv_open locale_charset nl_langinfo getxattr \ > + chflags strerror putenv iconv_open locale_charset nl_langinfo > getxattr \ > extattr_get_link sigaction sigprocmask setattrlist > do > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` > diff -up a/proto.h b/proto.h > --- a/proto.h > +++ b/proto.h > @@ -269,6 +269,8 @@ int read_ndx_and_attrs(int f_in, int *if > void free_sums(struct sum_struct *s); > mode_t dest_mode(mode_t flist_mode,...
2008 May 10
1
Failed to create rounding.h!
...... no checking for strerror... yes checking for putenv... yes checking for iconv_open... yes checking for locale_charset... no checking for nl_langinfo... yes checking for getxattr... yes checking for extattr_get_link... no checking for sigaction... yes checking for sigprocmask... yes checking for setattrlist... no checking for getpgrp... yes checking for tcgetpgrp... yes checking whether getpgrp requires zero arguments... yes checking whether chown() modifies symlinks... no checking whether link() can hard-link symlinks... yes checking whether link() can hard-link special files... yes checking for work...
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
2008 Apr 07
3
rsync installation _error exit code1
...y... no checking for strerror... yes checking for putenv... yes checking for iconv_open... yes checking for locale_charset... no checking for nl_langinfo... yes checking for getxattr... no checking for extattr_get_link... no checking for sigaction... yes checking for sigprocmask... yes checking for setattrlist... no checking for getpgrp... yes checking for tcgetpgrp... yes checking whether getpgrp requires zero arguments... no checking whether chown() modifies symlinks... no checking whether link() can hard-link symlinks... no checking whether link() can hard-link special files... yes checking for workin...