Hi, trying this:

chmod o-rx /usr/bin/ftp; groupadd g_fetch; usermod -G g_fetch _pkgfetch; chown 
root:g_fetch /usr/bin/ftp

# pkg_add: can't exec /usr/bin/ftp: permission denied at 
/usr/libdata/perl5/OpenBSD/PackageRepository.pm line 869

# offcourse setting _pkgfetch as group owner of /usr/bin/ftp raise no error 
executing pkg_add. But its restrictive and not the goal
.
-----
Offtopic: (Can't apply the same kind of restriction to sh and ksh, for _x11)

Best regards
.

Reply via email to