I posted a proof-of-concept for how to set extended attributes with
Python at http://stackoverflow.com/questions/34176464/why-os-chflags-
doesnt-work-under-linux/36274086#36274086.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https:
I ran into this today and thought I'd share what I learned.
The syscall chflags does not exist in Linux, so when compiling Python it
notices this and does not provide os.chflags().
chattr(1) on the other hand uses an ioctl() of EXT2_IOC_SETFLAGS to set
the attributes (e2fsprogs-1.42.13's lib/e2p/
currently the configure check fails
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/969032
Title:
Python os module lacks the chflags/lchflags methods
To manage notifications about this bug go to:
htt
Yes, I know `chattr` and I already use it on Linux. But referring to
http://docs.python.org/library/os.html#os.chflags the "flags" feature IS
the chattr on Linux ("Availability: Unix", not just MacOS and FreeBSD).
Reading further http://bugs.python.org/issue1490190 , the flags/chattr
seems underst
this is only available on MacOS and FreeBSD. Please use chattr on Linux
instead.
** Changed in: python2.7 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/969032