[mdlug] Tar extraction giving "Cannot change ownership" error

Carl T. Miller carl at carltm.com
Thu Nov 15 10:37:41 EST 2012


Try running "getenforce" and see if that could be the reason.

c


On 11/15/2012 10:21 AM, Ingles, Raymond wrote:
> Got an installation script that, among other things, extracts a tar file.
>
> On *some* RHEL machines - but not all - we see errors like: "Cannot change ownership to uid BLAH, gid BLAH: Operation not permitted". The script's not being run as root, and I even modified the script to use the "-o" option so it shouldn't even *try* to change the ownership of the extracted files. But we get the errors anyway.
>
> Anyone have a clue what could be happening here?
>
> ---
> Raymond Ingles, Software Developer, Compuware APM Business Unit      T +1 (313) 227-2317  raymond.ingles at compuware.com
>
> Follow us on Twitter: @GomezAPM  |  Like us on Facebook  |  Watch our videos on YouTube  |  Join us on LinkedIn
>
>
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug



More information about the mdlug mailing list