This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kcwu
Recipients kcwu
Date 2009-12-15.07:31:44
SpamBayes Score 0.00133238
Marked as misclassified No
Message-id <1260862393.85.0.15479395745.issue7512@psf.upfronthosting.co.za>
In-reply-to
Content
"flags" is only supported on certain OS. FreeBSD is one of them.
FreeBSD itself support chflags but not all of its file systems do.

On FreeBSD, copystat() will fail on zfs. The exception is OSError and
errno is EOPNOTSUPP. According to manpage chflags(2), the errno means
"The underlying file system does not support file flags"

If the file system doesn't support flags, we should not call
os.chflags() at first or should not raise exception.

In my patch, I just ignore EOPNOTSUPP exception.
History
Date User Action Args
2009-12-15 07:33:13kcwusetrecipients: + kcwu
2009-12-15 07:33:13kcwusetmessageid: <1260862393.85.0.15479395745.issue7512@psf.upfronthosting.co.za>
2009-12-15 07:31:45kcwulinkissue7512 messages
2009-12-15 07:31:45kcwucreate