chmod a+x *.pkg/Contents/Resources/postflight chmod a+x *.pkg change and add the x mode of the *.pkg file for all users *.pkg is a file; it is not a directory the kde-mac directory contains only *.pkg