Message96427
"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. |
|
Date |
User |
Action |
Args |
2009-12-15 07:33:13 | kcwu | set | recipients:
+ kcwu |
2009-12-15 07:33:13 | kcwu | set | messageid: <1260862393.85.0.15479395745.issue7512@psf.upfronthosting.co.za> |
2009-12-15 07:31:45 | kcwu | link | issue7512 messages |
2009-12-15 07:31:45 | kcwu | create | |
|