FC4 format permission problem

jbmukund jampala mukund.misc at gmail.com
Tue Nov 15 05:52:20 UTC 2005


Dear FC4 Team,

I have noticed my Flashmedia based block driver not working properly on FC4.
ISSUE is: I am not able to format the Block device file using any of
the mkfs* commands.
Where as I am able to format the floopy drive.

But, I am able to mount, read/write & dd the device file.
Udev created the my flashmedia device file with following permission '640'.

I was also successfull in changing the device file permissions to
'777' using the the "/etc/udev/rules.d/fm.rules"
file.

But Still I am not able to format the card and it says: permission denied.

I have noticed audit.log being updated with new error "denied"
messages whenever I try to format the card. Please see the attachment
to this mail.

See the logs below as well:
# tail /var/log/audit/audit.log | grep tfa

type=PATH msg=audit(1131719847.291:372708): item=0 name="/dev/tfa3"
inode=9633 dev=00:0d mode=060666 ouid=0 ogid=0 rdev=fc:18
type=AVC msg=audit(1131719847.291:372708): avc: denied { read } for
pid=2849 comm="mkfs.vfat" name=tfa3 dev=tmpfs ino=9633
scontext=root:system_r:fsadm_t tcontext=system_u:object_r:device_t
tclass=blk_file

Regards,
Mukund Jampala
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Linux_per_info[1].tar.gz
Type: application/x-gzip
Size: 879 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051115/77f1830f/attachment-0001.bin>


More information about the fedora-list mailing list