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.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux