Bug 228304 - avc: denied { associate } for comm="cp" egid=0 euid=0 exe="/bin/cp"
avc: denied { associate } for comm="cp" egid=0 euid=0 exe="/bin/cp"
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ondrej Vasik
Depends On:
  Show dependency treegraph
Reported: 2007-02-12 11:18 EST by eric magaoay
Modified: 2008-04-22 12:13 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-04-22 12:13:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
selinux log file (1.81 KB, text/plain)
2007-02-12 11:18 EST, eric magaoay
no flags Details

  None (edit)
Description eric magaoay 2007-02-12 11:18:08 EST
Description of problem:
receiving an avc denial when running "cp -av" to copy an entire iso image to
another directory for customization.

Version-Release number of selected component (if applicable):
coreutils-6.7-3.fc7 [application]

How reproducible:

Steps to Reproduce:
1. mount an ISO image file
   mount -o loop dvdimage.iso /mnt
2. mkdir ~/test ; cd 
3. cp -av /mnt/* ~/test
Actual results:
`/mnt/autorun.apm' -> `test/autorun.apm'
cp: cannot create regular file `test/autorun.apm': Permission denied

Expected results:
Should proceed without AVC denial

Additional info:
see attached file for detailed selinux log
Comment 1 eric magaoay 2007-02-12 11:18:08 EST
Created attachment 147908 [details]
selinux log file
Comment 2 Daniel Walsh 2007-03-20 11:04:19 EDT
This is a proposal and upstream is working on changing the behaviour of cp to
handle this problem
Comment 3 Bug Zapper 2008-04-03 15:06:02 EDT
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
Comment 4 eric magaoay 2008-04-22 12:13:27 EDT
Resolved in FC8 and FC9 rawhide

Note You need to log in before you can comment on or make changes to this bug.