Displaying 20 results from an estimated 144 matches for "lsetxattr".
Did you mean:
setxattr
2006 Apr 19
4
DO NOT REPLY [Bug 3701] New: rsync_xal_set: lsetxattr system.posix_acl_default failed: Permission denied
https://bugzilla.samba.org/show_bug.cgi?id=3701
Summary: rsync_xal_set: lsetxattr system.posix_acl_default
failed: Permission denied
Product: rsync
Version: 2.6.7
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@s...
2007 Oct 21
2
xattrs: Permission denied?
...: Wed May 23
16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh
powerpc
kiwiw:~/x terpstra$ echo test > bar
kiwiw:~/x terpstra$ xattr --set broken demo bar
kiwiw:~/x terpstra$ chmod 0444 bar
kiwiw:~/x terpstra$ rsync-3.0 -aHAXSx bar pumpkin::staging/tmp/
rsync: rsync_xal_set: lsetxattr(".bar.E055QA","user.broken") failed:
Permission denied (13)
rsync: rsync_xal_set: lsetxattr
(".bar.E055QA","user.com.apple.crtime96") failed: Permission denied (13)
rsync error: some files could not be transferred (code 23) at main.c
(1053) [sender=3.0.0p...
2020 May 12
1
[Bug 14377] New: rsync rsync_xal_set lsetxattr failed invalid argument
https://bugzilla.samba.org/show_bug.cgi?id=14377
Bug ID: 14377
Summary: rsync rsync_xal_set lsetxattr failed invalid argument
Product: rsync
Version: 3.1.3
Hardware: All
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayne at opencoder.net
Reporter: samba at...
2015 Mar 11
0
Rsync ACLs over NFSv4 to EXT4 - rsync_xal_set: lsetxattr - Operation not supported
...have turned up nil.
>
> I'm trying to rsync with options -AX over an NFSv4 mount TO an
> ext4 drive FROM an ext4 drive and both have acl and user_xattr
> enabled. The command:
>
> rsync -aAX /data/ /mnt/back/data
>
> results in:
>
> rsync: rsync_xal_set:
> lsetxattr(""/mnt/back/data/Users/user/Documents/Desktop"","security.NTACL")
>
>
failed: Operation not supported (95)
>
> along with all the other files.
>
> Running the same command to a local folder works perfect so I'm
> assuming it has something to...
2007 Oct 17
0
xattrs on symlinks
As we all know, only osx supports xattrs on symlinks. Unfortunately,
not only does osx support xattrs on symlinks, *every* symlink has, at
the least, com.apple.FinderInfo. When backing up to a linux system,
this results in one error message per symlink:
rsync: rsync_xal_set: lsetxattr("User Guides And
Information","user.com.apple.FinderInfo") failed: Operation not
permitted (1)
rsync: rsync_xal_set: lsetxattr("User Guides And
Information","user.com.apple.crtime96") failed: Operation not
permitted (1)
rsync: rsync_xal_set: lsetxattr...
2010 Nov 11
1
lsetxattr() failed: Operation not permitted on symlinked locked directory
...src/ dst
xattr-util is a utility that I have found at http://www.bombich.com/groups/ccc/wiki/7ba51/, but any method to add an extended attribute will do. This is the output:
sending incremental file list
./
symlink-to-dir -> src/dir-with-ea-and-uchg/
dir-with-ea-and-uchg/
rsync: rsync_xal_set: lsetxattr("dir-with-ea-and-uchg","mamma.mia") failed: Operation not permitted (1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20101111/bb639ce4/attachment.html>
2015 Mar 11
2
Rsync ACLs over NFSv4 to EXT4 - rsync_xal_set: lsetxattr - Operation not supported
...een searching for over a week for a solution and
have turned up nil.
I'm trying to rsync with options -AX over an NFSv4 mount TO an ext4 drive
FROM an ext4 drive and both have acl and user_xattr enabled. The command:
rsync -aAX /data/ /mnt/back/data
results in:
rsync: rsync_xal_set:
lsetxattr(""/mnt/back/data/Users/user/Documents/Desktop"","security.NTACL")
failed: Operation not supported (95)
along with all the other files.
Running the same command to a local folder works perfect so I'm assuming it
has something to do with NFS4 or EXT4 on the Server...
2007 Nov 15
2
rsync error?
...p me with the following error - is it serious; is the file
transferred; are the other files transferred?
[morgan@morgansmachine ~]$ rsync -a -X -A -z -v /home/morgan/Documents
192.168.1.30:/home/morgan/Documents
morgan@192.168.1.30's password:
building file list ... done
rsync: rsync_xal_set:
lsetxattr("Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc","user.Beagle.AttrTime") failed: Permission denied (13)
rsync: rsync_xal_set:
lsetxattr("Documents/Projects/CBT/SH20/HearingSubmission/ManukauBridgeSubCBT_PostPatrick_3_2.doc","...
2014 Feb 02
1
Bugg when using Extended Attributes flag -X
...Attributes (-X flag).
The server I use has Ubuntu with the filesystem XFS and I am trying to backup a OS X system to it. The problem is as far as I understand it that Linux Kernel has a liming on 64k f?r Extended Attributes and OS X don?t have this limit.
Some error output.
rsync: rsync_xal_set: lsetxattr(""/srv/danne/extern2/1000_EXT/2013/2013-03-05/IMG_6872-Edit.tif"","user.com.apple.ResourceFork") failed: Argument list too long (7)
Error 2
rsync: rsync_xal_set: lsetxattr(""/srv/nas/home/apple_bak_rsync/xxxxx/Pictures/iPhoto Library/Database/BigBlobs.apdb&q...
2007 Oct 30
1
Rsync 3.0.0pre4 errors with ACLs and Xattrs between OSX and Linux
...file_with_ACLs
file_with_resource_fork
file_with_xattrs
file_with_xattrs copy
dir_with_ACLS/
macosx_metadata_test/
macosx_metadata_test/catty_with_no_resource.jpg
macosx_metadata_test/catty_with_resource.jpg
macosx_metadata_test/readme.txt
rsync: rsync_xal_set: lsetxattr(".file_with_xattrs.EGbmPN","user.com.apple.ResourceFork") failed: Argument list too long (7)
rsync: rsync_xal_set: lsetxattr(".file_with_xattrs copy.Tnlkcp","user.com.apple.ResourceFork") failed: Argument list too long (7)
rsync: rsync_xal_set: lsetxa...
2009 Apr 03
1
"Invalid argument (22)" & "Operation not supported (95)" ???
...olks
I've gone back over the list and the only reference I've found to
"Invalid argument (22)" is here:
http://lists.samba.org/archive/rsync/2006-May/015478.html
That seems a different context of character set mismatches.
The common parts to my errors are:
rsync: rsync_xal_set: lsetxattr("...","security.selinux") failed:
Invalid argument (22)
And:
rsync: rsync_xal_set: lsetxattr("...","user.Beagle") failed: Operation
not supported (95)
Where ... is some reference to a file relative to the source. Seems to
be a selinux issue on the former an...
2014 Nov 07
4
[Bug 10925] New: non-atomic xattr replacement in btrfs => rsync --read-batch random errors
...2: 27251 <... stat resumed> {st_mode=S_IFDIR|0755, st_size=5470, ...}) = 0
3: 27253 llistxattr("osd/0.6ed_head/DIR_D/DIR_E/DIR_6",
"user.cephos.phash.contents\0", 1024) = 27
4: 27251 llistxattr("osd/0.6ed_head/DIR_D/DIR_E/DIR_6", <unfinished ...>
5: 27253 lsetxattr("osd/0.6ed_head/DIR_D/DIR_E/DIR_6",
"user.cephos.phash.contents",
"\x01F\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x03\x00\x00", 17, 0
<unfinished ...>
6: 27251 <... llistxattr resumed> "user.cephos.phash.contents\0", 1024) = 27
7: 27251 lgetxat...
2019 Nov 05
0
[Bug 14183] New: rsync fails transferring only attributes for file without write permission
...zilla.samba.org at edp.org
QA Contact: rsync-qa at samba.org
When a file?s extended attributes have changed but its contents have not and
the user does not have write permission for the source file (irrespective of
the destination file permissions), rsync fails with a permission error from
lsetxattr.
Using rsync 3.1.3 on macOS 10.14.6, the output of these commands:
cd /var/tmp
mkdir stage
mkdir stage/{source,destination}
touch stage/source/foo
rsync -a --xattrs stage/source/ stage/destination/
xattr -w abc def stage/source/foo
chmod ugo-w stage/source/foo
rsyn...
2009 Oct 28
1
Operation not supported (95)
...s. I use wget (OSX Leopard, wget 3.0.6 compiled from source) to
backup my ~/Pictures directory to a linux server, also with wget 3.0.6
(Debian). In persuit of being sure I get everything from HFS filesystem
(resource fork/metadata), I'm getting the following error:
rsync: rsync_xal_set:
lsetxattr("Pictures/...[snip].../IMG_7766/IMG_7766.dng","user.com.apple.FinderInfo")
failed: Operation not supported (95)
I have search through the archives and only found this error in what
seemed to be an error relating to selinux (which I'm not using). The
target filesystem is...
2008 Apr 14
0
[PATCH] xattrs not set on locked files that already exist on target
Working with rsync 3.0.2, it appears that rsync isn't unlocking files
before setting the file attributes when those files already exist.
This generates error messages on subsequent such as:
rsync: rsync_xal_set: lsetxattr("locked_file","test_xattr") failed:
Operation not permitted (1)
rsync: rsync_xal_clear: lremovexattr("locked_file","test_xattr.temp")
failed: Operation not permitted (1)
I assume this would also affect ACLs. Presumably, this is what --
force-change is...
2009 May 01
2
DO NOT REPLY [Bug 6312] New: rsync -X does not preserve SELinux context
...me as:
https://bugzilla.samba.org/show_bug.cgi?id=5356
I would have re-opened that if I could have, but a new bug gives the
opportunity to provide a better Summary, same as:
https://bugzilla.redhat.com/show_bug.cgi?id=458014
Re the reason for closing bug 5356:
I don't see "that the "lsetxattr"
failure is caused by a fundamental change in the file system data structures
implementing extended SELinux file attributes between Linux kernels" 2.6.26 and
2.6.27, which seems the implication of the reason for closing the bug.
--
Configure bugmail: https://bugzilla.samba.org/userpref...
2008 Mar 27
2
DO NOT REPLY [Bug 5356] New: SELinux extended attributes incompatibility: Linux kernel 2.6.9 and 2.6.18
...running different versions of the Linux
kernel -- e.g. source system running kernel 2.6.9, destination system running
2.6.18
Reproduce by:
=========
# rsync --xattrs -zva -e ssh /root/mydir/ remote:/root/mydir
receiving incremental file list
created directory /root/mydir
./
rsync: rsync_xal_set: lsetxattr(".","security.selinux") failed: Invalid
argument (22)
Comment
======
It's possible that the "lsetxattr" failure is caused by a fundamental change in
the file system data structures implementing extended SELinux file attributes
between Linux kernels 2.6.9 and 2.6...
2008 Jun 25
2
DO NOT REPLY [Bug 5565] New: xattrs not set on locked files that already exist on target
...dTo: wayned@samba.org
ReportedBy: mike@bombich.com
QAContact: rsync-qa@samba.org
It appears that rsync isn't unlocking files before setting the file attributes
when those files already exist. This generates error messages on subsequent
backups such as:
rsync: rsync_xal_set: lsetxattr("locked_file","test_xattr") failed: Operation
not permitted (1)
rsync: rsync_xal_clear: lremovexattr("locked_file","test_xattr.temp") failed:
Operation not permitted (1)
I assume this would also affect ACLs. Presumably, this is what --force-change
is suppos...
2016 Dec 01
3
[PATCH v2 1/2] xattrs: Skip security.evm extended attribute
The security.evm extended attribute is fully owned by the Linux kernel
and cannot be directly written from userspace. Therefore, we can always
skip it.
---
xattrs.c | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/xattrs.c b/xattrs.c
index b105392..3b72e61 100644
--- a/xattrs.c
+++ b/xattrs.c
@@ -255,6 +255,9 @@ static int rsync_xal_get(const char *fname,
2023 Jun 10
0
[Bug 15393] New: rsync attempts to set extended attributes while in dry-run
...3.2.3
Fedora 38 with rsync 3.2.7
Creating the following environment:
mkdir -p src/x cmp/x dst/
setfattr -n user.foo -v bar cmp/x
Executing the following command:
rsync --recursive --xattrs --dry-run --compare-dest=../cmp/ src/ dst/
Results in the following error:
rsync: [generator] copy_xattrs: lsetxattr("/home/user/dst/x","user.foo")
failed: No such file or directory (2)
The issue only seems to occur if:
x is a directory (inside another, not as a direct argument)
--recursive, --xattrs and --dry-run are set
--compare-dest, --copy-dest or --link-dest are set
The error seems to...