[issue12978] Figure out extended attributes on BSDs

2018-10-10 Thread Ned Deily
Ned Deily added the comment: On 2018-10-02, worr asked on the python-dev mailing list: > Can I get a review for GH-1690[PR 1690]? It fixes bpo-12978 and > has been sitting for a handful of years now. This adds > support for os.*xattr on DragonflyBSD, FreeBSD and NetBSD. -- versions: +P

[issue12978] Figure out extended attributes on BSDs

2017-05-20 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +1783 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue12978] Figure out extended attributes on BSDs

2015-11-04 Thread William Orr
William Orr added the comment: After a considerable amount of rework, I've gotten something worth submitting. All unit tests pass, and it handles some of the more unfortunate differences between FreeBSD's extended attribute syscalls and Linux's. One of the bigger changes is that I reworked the

[issue12978] Figure out extended attributes on BSDs

2015-07-24 Thread Ned Deily
Ned Deily added the comment: There certainly is interest in supporting extended attributes on additional platforms. Thanks for the patch, William, and the positive comments, Billy. Since this probably falls into the category of new feature, it should be targeted for 3.6, now that 3.5 is in f

[issue12978] Figure out extended attributes on BSDs

2015-07-20 Thread Billy Foster
Billy Foster added the comment: Is there any chance of getting this finalized? I have been using William Orr's patch as a workaround for months now, but it would be nice to not have to manually apply it each version bump... -- nosy: +billyfoster __

[issue12978] Figure out extended attributes on BSDs

2015-04-17 Thread William Orr
William Orr added the comment: Here's an initial attempt at implementing extended attribute support. Let me know if there's any interest. There's currently one deficiency, which is that the namespace isn't prepended to the attribute name when calling lsxattr. Let me know if my approach is goo

[issue12978] Figure out extended attributes on BSDs

2013-07-26 Thread Ronald Oussoren
Ronald Oussoren added the comment: The OSX API also has a "position" argument for both getting and setting extended attributes. The position should be 0 for normal attributes, and can have other values when accessing the resource fork of a file. --

[issue12978] Figure out extended attributes on BSDs

2013-07-26 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue12978] Figure out extended attributes on BSDs

2012-07-16 Thread koobs
koobs added the comment: And to clarify the no-follow-symlinks case on FreeBSD: extattr_{get,set,list,delete}_link "system calls behave in the same way as their _file counterparts, except that they do not follow sym-links." as per the man page. -- ___

[issue12978] Figure out extended attributes on BSDs

2012-07-15 Thread koobs
koobs added the comment: FreeBSD (at least on 7.x, 8.x and 9.x) has the following syscalls available in its API: extattr_{get,set,list,delete}_{fd,file,link} And also has: EXTATTR_MAXNAMELEN http://www.freebsd.org/cgi/man.cgi?query=extattr&sektion=2&manpath=FreeBSD+9.0-RELEASE -- no

[issue12978] Figure out extended attributes on BSDs

2012-07-14 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue12978] Figure out extended attributes on BSDs

2012-04-10 Thread Hynek Schlawack
Changes by Hynek Schlawack : -- nosy: +hynek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue12978] Figure out extended attributes on BSDs

2012-03-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2012/3/12 Nicholas Riley : > > Nicholas Riley added the comment: > > I've spent a few hours looking at xattr and the Linux/OS X (10.4+) > implementations.  Bob Ippolito's xattr module implements the OS X xattr > interface on Linux, Solaris (9+) and FreeBSD

[issue12978] Figure out extended attributes on BSDs

2012-03-12 Thread Nicholas Riley
Changes by Nicholas Riley : -- nosy: +bob.ippolito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12978] Figure out extended attributes on BSDs

2012-03-12 Thread Nicholas Riley
Nicholas Riley added the comment: I've spent a few hours looking at xattr and the Linux/OS X (10.4+) implementations. Bob Ippolito's xattr module implements the OS X xattr interface on Linux, Solaris (9+) and FreeBSD. Linux and OS X are pretty close; FreeBSD and Solaris are substantially di

[issue12978] Figure out extended attributes on BSDs

2011-09-14 Thread Ned Deily
Ned Deily added the comment: Have you looked at Bob Ippolito's xattr module which has been out for some time and wraps Linux, OS X, BSD, and Solaris extended attributes? http://pypi.python.org/pypi/xattr -- nosy: +ned.deily ___ Python tracker

[issue12978] Figure out extended attributes on BSDs

2011-09-14 Thread Benjamin Peterson
New submission from Benjamin Peterson : Extended attribute support currently exists in the os module for Linux. BSD's (including OSX) have a similar (but of course incompatible) interface. They should be exposed through the same functions. For example, os.getxattr("myfile", "user.whatever") s