Displaying 20 results from an estimated 277 matches for "getxattrs".
Did you mean:
getxattr
2023 Apr 03
2
Inconsistent SYSVOL ACLs
03.04.2023 02:53, Anderson Sampaio Mello via samba ?????:
> First of all thank you all for the answers and for trying to help me.
>
> I agree with you michael regarding the parameters passed in the ./configure
> command, the location is not part of the problem.
>
> The file system used is XFS. and the strace command logs are in the
> attached link
>
2020 Mar 12
0
[PATCH libguestfs 1/3] daemon: xattr: Refactor code which splits attr names from the kernel.
...{
+ free_stringsbuf (&ret);
+ return NULL;
+ }
+ }
+ if (end_stringsbuf (&ret) == -1) {
+ free_stringsbuf (&ret);
+ return NULL;
+ }
+
+ return take_stringsbuf (&ret);
+}
+
static int
compare_xattrs (const void *vxa1, const void *vxa2)
{
@@ -106,7 +135,8 @@ getxattrs (const char *path,
{
ssize_t len, vlen;
CLEANUP_FREE char *buf = NULL;
- size_t i, j;
+ CLEANUP_FREE_STRING_LIST char **names = NULL;
+ size_t i;
guestfs_int_xattr_list *r = NULL;
buf = _listxattrs (path, listxattr, &len);
@@ -114,18 +144,17 @@ getxattrs (const char *path,...
2020 Mar 16
0
[PATCH libguestfs v2 1/3] daemon: xattr: Refactor code which splits attr names from the kernel.
...trlen (&buf[i]) + 1) {
+ if (add_string_nodup (&ret, &buf[i]) == -1)
+ return NULL;
+ }
+ if (end_stringsbuf (&ret) == -1)
+ return NULL;
+
+ return take_stringsbuf (&ret);
+}
+
static int
compare_xattrs (const void *vxa1, const void *vxa2)
{
@@ -106,7 +132,8 @@ getxattrs (const char *path,
{
ssize_t len, vlen;
CLEANUP_FREE char *buf = NULL;
- size_t i, j;
+ CLEANUP_FREE /* not string list */ char **names = NULL;
+ size_t i;
guestfs_int_xattr_list *r = NULL;
buf = _listxattrs (path, listxattr, &len);
@@ -114,18 +141,17 @@ getxattrs (const char...
2020 Mar 16
6
[PATCH libguestfs v2 0/3] daemon: Fix various commands which break on NTFS-3g compressed files.
v1 here:
https://www.redhat.com/archives/libguestfs/2020-March/msg00099.html
This one fixes most of the points picked up in review, and does not
strdup the strings which should keep down memory usage if that is a
concern.
Rich.
2020 Mar 12
8
[PATCH libguestfs 0/3] daemon: Fix various commands which break on NTFS-3g compressed files.
https://bugzilla.redhat.com/show_bug.cgi?id=1811539
Commands including virt-diff which read extended attributes will
sometimes fail on NTFS filesystems that are using system compressed.
The reason is complex, see comment 5 of the bug linked above.
This patch filters out the troublesome xattr. For justification, see
the comment I added in patch 3.
Patch 1 & 2 are refactoring.
I was on the
2006 Dec 14
1
Compilation error on Mac OS X 10.4.7
Dear List:
I am having difficulties compiling samba-3.0.23d on mac os x.
Here is the output of 'uname -a':
Darwin TI-15 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53
PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc
The errors I get are:
Compiling lib/system.c
lib/system.c: In function 'sys_getxattr':
lib/system.c:1420: error: too few arguments to
2014 Apr 30
2
[PATCH] daemon: xattr: factorize do_getxattr and do_lgetxattr
....
---
daemon/xattr.c | 54 +++++++++++-------------------------------------------
1 file changed, 11 insertions(+), 43 deletions(-)
diff --git a/daemon/xattr.c b/daemon/xattr.c
index abed5ff..d8ad59a 100644
--- a/daemon/xattr.c
+++ b/daemon/xattr.c
@@ -55,6 +55,7 @@ static guestfs_int_xattr_list *getxattrs (const char *path, ssize_t (*listxattr)
static int _setxattr (const char *xattr, const char *val, int vallen, const char *path, int (*setxattr) (const char *path, const char *name, const void *value, size_t size, int flags));
static int _removexattr (const char *xattr, const char *path, int (*rem...
2010 Apr 08
1
Does anybody know how to use the getxattr/setxattr commmands in guestfish?
Hi All,
Does anybody know how to use the getxattr/setxattr commands in guestfish?
It seems not working for ext2/3 filesystem. I did not find the
corresponding commands in bash either.
So is it for xfs only?
Regards,
Pengzhen Cao
2018 Apr 05
4
Operation Not Supported error for GETXATTR when VFS plugin "nfs4acl_xattr" is used
Hello All
I am trying to use nfs4acl_xattr plugin from samba source code.
https://www.samba.org/samba/docs/current/man-html/vfs_nfs4acl_xattr.8.html
I mounted NFSv4 mount point locally and exported it through samba with vfs
objects set to nfs4acl_xattr.
*[root at test3 ajain]# net conf showshare local[local] path =
/home/ajain/mount comment = local share guest ok =
2008 Feb 04
5
WinXP/x64 - MFC CFile objects leak parent directory handles
Samba 3.0.28-0.1.95-1624-SUSE-SL10.3
A strange problem (best read in a proportional font).
It only happens on an x64 XP client when accessing
a Samba share. The exact same program runs fine
on the same x64 XP client when the share accessed
is on a Windows server or when it is run on a 32-bit
XP client, regardless of whether the share belongs to
a Samba server or to a Windows server.
I have
2018 Dec 12
4
vfs_fruit causes delay in listing directories for Windows clients
Listing directories with many files (10000+) from a Windows client is
nociceably slower when vfs_fruit is enabled on the samba server compared
to the same setup without vfs_fruit.
On my setup it's roughly 2.5 times slower. To me it looks like this is
caused by the getxattr call which is only present with vfs_fruit
activated and introduces an additional delay of ~ 0.00033 s per listed
2004 Jul 24
2
acl handling on delete (performance problem)
Hi all,
I'm debugging a performance problem for a client. Needless to say, the
organisation of their data is such that this problem is really annoying.
Here's the situation:
Samba 3.0.x PDC in a mixed 9x/nt/xp environment, using acls. When trying to
delete a large number of folders from a folder, the 'preparing to delete'
stage takes about half hour.
It's simple to repeat:
2004 Jul 14
3
hosting library (ie. PVCS) on Samba
Hello.
I believe that I've done my due diligence in researching what info. is
currently available on this issue.
I have been jacking with this for days, & believe that I have tried all
possible solutions.
I am basically trying to move a [Merant] PVCS installation from an OS/2
file server to a SuSE/Samba file server.
This installation consists of 'standard' source archives,
2018 Apr 06
0
Operation Not Supported error for GETXATTR when VFS plugin "nfs4acl_xattr" is used
On Fri, Apr 06, 2018 at 01:44:50PM +0530, Akash Jain wrote:
> Hi All
>
> I found there is one bug in the plugin. The name of the attribute for ACL as
> per strace output of nfs4_setfacl is system.nfs4_acl.
> The source code has defined it as
> #define NFS4ACL_XATTR_NAME ( "system.nfs4acl" )
>
> Note there is missing underscore.
>
> After this, the
2018 Apr 06
0
Operation Not Supported error for GETXATTR when VFS plugin "nfs4acl_xattr" is used
On Fri, Apr 06, 2018 at 09:22:17PM +0200, Ralph Böhme wrote:
> On Fri, Apr 06, 2018 at 10:27:32AM -0700, Jeremy Allison via samba wrote:
> > On Fri, Apr 06, 2018 at 01:44:50PM +0530, Akash Jain wrote:
> > > Hi All
> > >
> > > I found there is one bug in the plugin. The name of the attribute for ACL as
> > > per strace output of nfs4_setfacl is
2018 Apr 06
0
Operation Not Supported error for GETXATTR when VFS plugin "nfs4acl_xattr" is used
On Fri, Apr 06, 2018 at 09:28:16PM +0200, Ralph Böhme wrote:
> On Fri, Apr 06, 2018 at 12:40:31PM -0700, Jeremy Allison wrote:
> > On Fri, Apr 06, 2018 at 09:22:17PM +0200, Ralph Böhme wrote:
> > > On Fri, Apr 06, 2018 at 10:27:32AM -0700, Jeremy Allison via samba wrote:
> > > > On Fri, Apr 06, 2018 at 01:44:50PM +0530, Akash Jain wrote:
> > > > > Hi
2018 Apr 10
0
Operation Not Supported error for GETXATTR when VFS plugin "nfs4acl_xattr" is used
Hi Ralph
I do not think using xattr_tdb is the right thing to do for my purpose. We
do not wish to store/retrieve extended attributes to/from TDB file.
*<Ralph>*
*Iirc parsing NFSv4 ACLs would require extensions to the module to support
the string identifiers and mapping to ids.*
*</Ralph>*
Can you please elaborate more on which extensions you referred to?
What all basic things do
2018 Apr 10
1
Operation Not Supported error for GETXATTR when VFS plugin "nfs4acl_xattr" is used
On Tue, Apr 10, 2018 at 04:28:10PM +0530, Akash Jain wrote:
> Can you please elaborate more on which extensions you referred to?
> What all basic things do we need to do to use nfs4acl_xattr module with
> native NFS4 export mounted locally and shared through samba to get/set NT
> ACLs?
I guess you have to patch the code, or find someone who does it for you. Iirc
currently the module
2011 Mar 28
0
[PATCH] fuse: Fix getxattr, listxattr calls and add a regression test.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
-------------- next part --------------
>From e48d2ab05b85c02f76da09afe1ff5027a750cea1 Mon Sep 17
2014 Jan 10
4
Re: RFC: copy-attributes command
...attr.c to avoid spreading the usage of xattr
> > API in>
> > many places
> >
> > - copy_xattrs does a bit of code repetition with other stuff in
> > xattr.c,>
> > but I'm not sure how to avoid it without making the xattr listing
> > code (getxattrs) a bit more complex that what it is already
> >
> > Comments?
> >
> >
> > diff --git a/daemon/daemon.h b/daemon/daemon.h
> > index b77d764..6535658 100644
> > --- a/daemon/daemon.h
> > +++ b/daemon/daemon.h
> > @@ -231,6 +231,9 @@ extern void...