[sudo-users] tar fails on gzip or bzip compression
Todd C. Miller
Todd.Miller at courtesan.com
Wed Apr 25 08:57:47 EDT 2012
On Wed, 25 Apr 2012 07:23:23 CDT, Joe Friedeggs wrote:
> I am having issues with 'tar' command when compression (gzip or bzip2) is use
> d. The users have sudo access to:
>
> /bin/tar *
>
> but this fails when the gzip (or bzip) options is selected. For example:
>
> > sudo /bin/tar ztvf testthis.tar.gz
> /bin/tar: gzip: Cannot exec: Permission denied
Do you have NOEXEC enabled for that command? If so, that would
explain the problem since tar would be unable to execute gzip or
bzip2.
- todd
More information about the sudo-users
mailing list