Re: unpacking of archive failed on file /etc/rhgb/temp: cpio: lsetfilecon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 06, 2006 at 05:53:32PM +0000, Paul Howarth wrote:
> Dave Mitchell wrote:
> >On Mon, Nov 06, 2006 at 03:23:49PM +0000, Paul Howarth wrote:
> >>Try:
> >># restorecon -rv /etc/rhgb
> >
> >Hmmm ...
> >
> ># restorecon -rv /etc/rhgb
> >lstat(/etc/rhgb/temp) failed: Permission denied
> >
> ># id
> >uid=0(root) gid=0(root) 
> >groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) 
> >context=user_u:system_r:unconfined_t
> 
> I wonder if you have something mounted on there?
> 
> # mount
> # ls -ldZ / /etc /etc/rhgb /etc/rhgb/temp

# ls -ldZ / /etc /etc/rhgb /etc/rhgb/temp
drwxr-xr-x  root root system_u:object_r:root_t         /
drwxr-xr-x  root root system_u:object_r:etc_t          /etc
drwxr-xr-x  root root system_u:object_r:mnt_t          /etc/rhgb
drwx------  root root system_u:object_r:ramfs_t        /etc/rhgb/temp

# mount
/dev/mapper/g0-v0 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/mapper/g0-v2 on /home type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)


However:

# df /etc/rhgb/temp
Filesystem           1K-blocks      Used Available Use% Mounted on
-                            0         0         0   -  /etc/rhgb/temp

-- 
Lear: Dost thou call me fool, boy?
Fool: All thy other titles thou hast given away; that thou wast born with.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux