Re: [4/4] server: Do not limit execute file access to .exe and .com files.
15 Mar
2011
15 Mar
'11
11:27 a.m.
Dmitry Timoshkov <dmitry(a)codeweavers.com> wrote:
- if (len >= 4 && - (!strcasecmp( name + len - 4, ".exe" ) || !strcasecmp( name + len - 4, ".com" ))) - { - if (mode & S_IRUSR) - mode |= S_IXUSR; - if (mode & S_IRGRP) - mode |= S_IXGRP; - if (mode & S_IROTH) - mode |= S_IXOTH; - } + if (mode & S_IRUSR) + mode |= S_IXUSR; + if (mode & S_IRGRP) + mode |= S_IXGRP; + if (mode & S_IROTH) + mode |= S_IXOTH;
Please ignore this patch, I need to figure out at which point the exec permissions are dropped. Other patches in the sequence do not depend on this one (and actually are all independent changes). -- Dmitry.
5390
Age (days ago)
5390
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov