I have sudo permissions and I'm trying to unpack a file with cpio command.
However, because of the path properties I get permission denied when I try to do it.
$ id
uid=4777(testuser) gid=100(users) groups=100(users),1008(otherwheel)
The home path has 700 permission:
$ sudo ls -ld /home/uadmin/
[sudo] password for testuser:
drwx ------. 16 mois uadmin 4096 dimanche 1 15:26 / home / uadmin /
The file has 775 permission:
$ sudo ls -l /home/uadmin/RH7HOTFIX/INSTALL
[sudo] password for testuser:
-rw-rw-r-- 1 racine 163840 le 28 déc 2016 / home / uadmin / RH7HOTFIX / INSTALL
When I try to unpack the file I get 'permission denied':
$ sudo cpio -ivcBdum install</home/uadmin/RH7HOTFIX/INSTALL
-bash: / home / uadmin / RH7HOTFIX / INSTALL: autorisation refusée
I can´t change the path permission.
I can´t move the file because of the disk space.
I can´t use sudo -i for a new shell.
My OS is Red Hat Enterprise 7.2
Any ideas?
Thanks in advanced.
DASM
id
).