Don't say, "file: permission denied," if the operation

is disabled entirely.
This commit is contained in:
Yaroslav Tykhiy 2004-11-18 11:50:01 +00:00
parent 02c9749295
commit 405e2987ca

View File

@ -2499,7 +2499,7 @@ makedir(char *name)
LOGCMD("mkdir", name);
if (guest && noguestmkd)
reply(550, "%s: permission denied.", name);
reply(550, "Operation not permitted.");
else if (mkdir(name, 0777) < 0)
perror_reply(550, name);
else {