Opened 21 years ago

Last modified 21 years ago

#489 closed Bug report

Wrong perms returned by FileZilla server for plain files

Reported by: meeroh Owned by:
Priority: normal Component: Other
Keywords: Cc: meeroh, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

In FileZilla Server's Permissions.cpp,

memcpy(pDir->buffer + pDir->len, "-xw", 3);

should be

memcpy(pDir->buffer + pDir->len, "-rw", 3);

Right now, the server reports that every file is executable by
owner, which is bad for two reasons: 1. it's wrong, since not
every file is executable and 2. It causes clients which parse
the permissions string to fail, because the string is malformed.
(x in the 2nd place is invalid).

Change History (1)

comment:1 by Tim Kosse, 21 years ago

Thanks for the bug report, this problem will be fixed in the
next version.

Note: See TracTickets for help on using tickets.