Merge permission dropping from shell command

Since this work has already been done in shell command we may as well merge it before getting started on the LSF migration.