search for: lchmod

Displaying 20 results from an estimated 131 matches for "lchmod".

Did you mean: chmod
2007 Jun 26
1
DO NOT REPLY [Bug 4745] New: Use lchmod and lutimes whenever possible
https://bugzilla.samba.org/show_bug.cgi?id=4745 Summary: Use lchmod and lutimes whenever possible Product: rsync Version: 3.0.0 Platform: Other OS/Version: Linux Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: hash...
2007 Oct 16
1
lchmod for osx (was: Symlinks in OS X (10.4.1))
...written this... Someone with an intel mac should test this to check the uint32_t works there too (I have a powerpc). #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/attr.h> /* !!! */ #include <sys/stat.h> #include <unistd.h> int my_lchmod(const char *path, mode_t mode) { struct attrlist 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 = ATT...
2005 Jul 24
0
[Bug 2913] New: rsync of symlinks on >=bsd needs lutimes(2) and lchmod(2)
https://bugzilla.samba.org/show_bug.cgi?id=2913 Summary: rsync of symlinks on >=bsd needs lutimes(2) and lchmod(2) Product: rsync Version: 2.6.5 Platform: All OS/Version: FreeBSD Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: rsync@cpe-24-95-91-210.columbus.res....
2005 Jul 26
2
[Bug 2913] rsync of symlinks on >=bsd needs lutimes(2) and lchmod(2)
https://bugzilla.samba.org/show_bug.cgi?id=2913 ------- Additional Comments From wayned@samba.org 2005-07-26 09:27 ------- Created an attachment (id=1336) --> (https://bugzilla.samba.org/attachment.cgi?id=1336&action=view) Use lchmod and lutimes, if present Please test this patch and see if it works for you. You will need to run "autoconf; autoheader; make proto" (or "make gen" if you already have a Makefile) and then re-run configure (e.g. "./config.status --recheck; ./config.status" if you alre...
2006 Jun 29
1
rsync and symbolic links
Is this a known issue? rsync does not always preserve dates and permissions on symbolic links, and while the -i option indicates it is trying to bring things in sync, it does not. Maybe between OS's that have sufficiently different implementations, this is not possible.
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
2011 Feb 02
3
Two file mode bugs in puppet 0.25?
..., then /var/www is being created as a symlink to /mnt/www and then (because 400 is the default mode for all file resources) it is being chmod''ed to mode 400, which chmod''s the referenced directory. Since the file resource is creating a symlink the correct behavior would be to call lchmod()... except Linux has no lchmod(), all symlinks in Linux are effectively mode 777. So puppet should in fact not call chmod() on symlinks at all on Linux. Two other things I''ve observed: * Putting mode => 755 into the second file resource fixes the problem; this must make puppet call ch...
2007 Apr 25
1
Symbolic links on Mac OSX
I have noticed an anomaly with symbolic links. umask 027 mkdir folder1 echo 'hello world' > folder1/file1 cd folder1 ln -s file1 softfile1 rsync -a ../folder1/ ../folder2/ ls -lF ../folder* ../folder1: total 16 -rw-r----- 1 alan alan 12 Apr 26 00:00 file1 lrwxr-x--- 1 alan alan 5 Apr 26 00:02 softfile1@ -> file1 ../folder2: total 16 -rw-r----- 1 alan alan 12 Apr 26
2008 Mar 04
1
Several changes missing from [HEAD] fileflags.diff
...> /* Define to 1 if you have the `chmod' function. */ > #undef HAVE_CHMOD > > diff -up a/configure.sh b/configure.sh > --- a/configure.sh > +++ b/configure.sh > @@ -14789,12 +14789,13 @@ fi > > > > + > for ac_func in waitpid wait4 getcwd strdup chown chmod lchmod mknod > mkfifo \ > fchmod fstat ftruncate strchr readlink link utime utimes > lutimes strftime \ > memmove lchown vsnprintf snprintf vasprintf asprintf setsid > glob strpbrk \ > strlcat strlcpy strtol mallinfo getgroups setgroups geteuid > getegid \ >...
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...s checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking for chown... yes checking for fchown... yes checking for fdopendir... yes checking for dup2... yes checking for fchdir... yes checking for fcntl... yes checking for lchmod... no checking for fstatfs... yes checking for getdtablesize... yes checking for lstat... yes checking for mprotect... yes checking for memchr... yes checking for strdup... yes checking for pipe... yes checking for vasnprintf... no checking whether chown honors trailing slash... yes checking whethe...
2011 Jan 14
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...s checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking for chown... yes checking for fchown... yes checking for fdopendir... yes checking for dup2... yes checking for fchdir... yes checking for fcntl... yes checking for lchmod... no checking for fstatfs... yes checking for getdtablesize... yes checking for lstat... yes checking for mprotect... yes checking for memchr... yes checking for strdup... yes checking for pipe... yes checking for vasnprintf... no checking whether chown honors trailing slash... yes checking whethe...
2011 Feb 15
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...s checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking for chown... yes checking for fchown... yes checking for fdopendir... yes checking for dup2... yes checking for fchdir... yes checking for fcntl... yes checking for lchmod... no checking for fstatfs... yes checking for getdtablesize... yes checking for lstat... yes checking for mprotect... yes checking for memchr... yes checking for strdup... yes checking for pipe... yes checking for vasnprintf... no checking whether chown honors trailing slash... yes checking whethe...
2011 Jan 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...s checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking for chown... yes checking for fchown... yes checking for fdopendir... yes checking for dup2... yes checking for fchdir... yes checking for fcntl... yes checking for lchmod... no checking for fstatfs... yes checking for getdtablesize... yes checking for lstat... yes checking for mprotect... yes checking for memchr... yes checking for strdup... yes checking for pipe... yes checking for vasnprintf... no checking whether chown honors trailing slash... yes checking whethe...
2011 Feb 15
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...s checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking for chown... yes checking for fchown... yes checking for fdopendir... yes checking for dup2... yes checking for fchdir... yes checking for fcntl... yes checking for lchmod... no checking for fstatfs... yes checking for getdtablesize... yes checking for lstat... yes checking for mprotect... yes checking for memchr... yes checking for strdup... yes checking for pipe... yes checking for vasnprintf... no checking whether chown honors trailing slash... yes checking whethe...
2010 Dec 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...s checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking for chown... yes checking for fchown... yes checking for fdopendir... yes checking for dup2... yes checking for fchdir... yes checking for fcntl... yes checking for lchmod... no checking for fstatfs... yes checking for getdtablesize... yes checking for lstat... yes checking for mprotect... yes checking for memchr... yes checking for strdup... yes checking for pipe... yes checking for vasnprintf... no checking whether chown honors trailing slash... yes checking whethe...
2007 Sep 16
12
DO NOT REPLY [Bug 4977] New: rsync: failed to set times on
https://bugzilla.samba.org/show_bug.cgi?id=4977 Summary: rsync: failed to set times on Product: rsync Version: 2.6.9 Platform: x86 URL: http://www.mikerubel.org/computers/rsync_snapshots/ OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo:
2011 May 13
3
builder-debian febootstrap success 6ab9465001dfaa52edc5992ee71f2e9aecc2085d
...s checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking for chown... yes checking for fchown... yes checking for fdopendir... yes checking for dup2... yes checking for fchdir... yes checking for fcntl... yes checking for lchmod... no checking for fstatfs... yes checking for getdtablesize... yes checking for lstat... yes checking for mprotect... yes checking for memchr... yes checking for strdup... yes checking for pipe... yes checking for vasnprintf... no checking whether chown honors trailing slash... yes checking whethe...
2010 Dec 07
0
builder-debian febootstrap FAILED configure step af9f9305a0a48829392a57d24aee30978b449d1d
...s checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking for chown... yes checking for fchown... yes checking for fdopendir... yes checking for dup2... yes checking for fchdir... yes checking for fcntl... yes checking for lchmod... no checking for fstatfs... yes checking for getdtablesize... yes checking for lstat... yes checking for mprotect... yes checking for memchr... yes checking for strdup... yes checking for pipe... yes checking for vasnprintf... no checking whether chown honors trailing slash... yes checking whethe...
2011 Mar 22
1
builder-debian febootstrap success 6720ad28eddbcd671032c151f7219a35ba615b1b
...s checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking for chown... yes checking for fchown... yes checking for fdopendir... yes checking for dup2... yes checking for fchdir... yes checking for fcntl... yes checking for lchmod... no checking for fstatfs... yes checking for getdtablesize... yes checking for lstat... yes checking for mprotect... yes checking for memchr... yes checking for strdup... yes checking for pipe... yes checking for vasnprintf... no checking whether chown honors trailing slash... yes checking whethe...
2010 Dec 07
0
builder-ubuntu febootstrap success 2dfc659c33c5ceb298e8027e219547416b286661
...s checking for unistd.h... (cached) yes checking for working chown... yes checking whether chown dereferences symlinks... yes checking for chown... yes checking for fchown... yes checking for fdopendir... yes checking for dup2... yes checking for fchdir... yes checking for fcntl... yes checking for lchmod... no checking for fstatfs... yes checking for getdtablesize... yes checking for lstat... yes checking for mprotect... yes checking for memchr... yes checking for strdup... yes checking for pipe... yes checking for vasnprintf... no checking whether chown honors trailing slash... yes checking whethe...