tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
python2.6 copystat and NFS
Not sure the best way to deal with this:
In python 2.6 the copystat() function (in /usr/pkg/lib/python2.6/shutil.py)
has grown an extra part
if hasattr(os, 'chflags') and hasattr(st, 'st_flags'):
os.chflags(dst, st.st_flags)
This causes the function to die, on NetBSD at least, if the destination is
on NFS with
OSError: [Errno 45] Operation not supported:
because - from the chflags(2) manual page
[EOPNOTSUPP] The named file resides on a file system that does
not support file flags.
cheers
mark
Home |
Main Index |
Thread Index |
Old Index