search for: sys_lgetxattr

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

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
2010 Sep 21
1
Old FreeBSD4.11 build.
...-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 reported only once lib/sysxattrs.c:85: for each function it appears...
2018 Jan 23
2
[Bug 13241] New: A problem with test for xattrs transfer
...st, it uses 'getfattr -d'. The original files will never show the user.rsync.security.selinux="unconfined_u:object_r:user_home_t:s0" with this command. This attribute has to be specifically asked for with 'getfattr -n security.selinux'. Looking into the code the function sys_lgetxattr is used to get extended attributes and it asks specifically for the security.selinux attribute. And this attribute gets transferred to the destination file and is visible with 'getfattr -d'. Example: > mkdir dir_a dir_b > echo "Hello world" > dir_a/foo.txt > getfattr...
2005 Mar 31
4
Samba 3.x SVN and OS/2 support.
Hi all Samba OS/2 users. I've just added OS/2 style extended attribute support into the SAMBA_3_0 subversion branch code. This depends on the underlying OS supporting EA's and (on linux) the filesystem being mounted with the "user_xattr" mount option and the parameter "ea support = yes" being set in smb.conf. Please check out this code and test it - let me know if
2009 Jul 27
1
supporting --fake-super on opensolaris (zfs) destination
...------------ 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 char *name, void *value, size_t size) +{ + + + int attrfd; + size_t bufpos,r; + STRUCT_STAT fst; + + do_lstat(path,&fst); + if(S_ISLNK(fst.st_mode)) { + errno=EPERM; + return(-1); + } + + attrfd = attropen(path, name, O_RDONLY); + + if (attrfd<0) { + errno = EN...
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
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
2011 Jun 09
1
NFS problem
Hi, I got the same problem as Juergen, My volume is a simple replicated volume with 2 host and GlusterFS 3.2.0 Volume Name: poolsave Type: Replicate Status: Started Number of Bricks: 2 Transport-type: tcp Bricks: Brick1: ylal2950:/soft/gluster-data Brick2: ylal2960:/soft/gluster-data Options Reconfigured: diagnostics.brick-log-level: DEBUG network.ping-timeout: 20 performance.cache-size: 512MB