fsetxattr() fails on file-descriptor that was opened as read/write
Issue
- Extended attributes can not be written to files opened
O_RDWRunlessopen()mode has user write set, i.e.S_IWUSR 00200 ftruncate()does not have this same requirement
Environment
- Red Hat Enterprise Linux
- fsetxattr
- fremovexattr
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.