[Bug 50773] SetFileAttributesA(FILE_ATTRIBUTE_READONLY) on a symlink doesn't stick

WineHQ Bugzilla wine-bugs at winehq.org
Tue Mar 9 14:02:07 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50773

--- Comment #3 from Martin Storsjö <martin at martin.st> ---
(In reply to Erich E. Hoover from comment #2)
> I don't believe that there's a straightforward way to implement this, see
> https://linux.die.net/man/2/fchmodat:
> AT_SYMLINK_NOFOLLOW
>     If pathname is a symbolic link, do not dereference it: instead operate
> on the link itself. This flag is not currently implemented.

Ok, fair enough - if this one can't be practically implemented, the cases where
it matters in the testsuite I'm trying to run can be skipped fairly easily.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list