/usr/lib/python2.7/dist-packages/xattr/constants.py is in python-xattr 0.6.4-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Options for pathname based xattr calls
XATTR_NOFOLLOW = 0x0001 # Don't follow symbolic links
# Options for setxattr calls
XATTR_CREATE = 0x0002 # set the value, fail if attr already exists
XATTR_REPLACE = 0x0004 # set the value, fail if attr does not exist
# Set this to bypass authorization checking (eg. if doing auth-related work)
XATTR_NOSECURITY = 0x0008
XATTR_MAXNAMELEN = 127
XATTR_FINDERINFO_NAME = "com.apple.FinderInfo"
XATTR_RESOURCEFORK_NAME = "com.apple.ResourceFork"
|