diff --git a/policy/modules/services/ftp.if b/policy/modules/services/ftp.if index bc274219..943219f0 100644 --- a/policy/modules/services/ftp.if +++ b/policy/modules/services/ftp.if @@ -67,7 +67,7 @@ interface(`ftp_check_exec',` ') corecmd_search_bin($1) - allow $1 ftpd_exec_t:file { getattr execute }; + can_exec($1, ftpd_exec_t) ') ########################################