[FC4] Selinux, samba and sharing a fat32 partition

Christoph Wickert christoph.wickert at gmx.de
Fri Aug 19 14:43:35 UTC 2005


Hi!

I'm having difficulties with selinux while trying to share folders on a
fat32 partition via samba. Sharing ext3 works fine. After 

# chcon -R user_u:object_r:samba_share_t /home/shared/

I'm able to browse the contents on /home/shared, but of course this
doesn't work on fat 32:

#  chcon -R user_u:object_r:samba_share_t /mnt/daten/
chcon: /mnt/daten/: Operation not supported

I tried adding the selinux options to /etc/fstab, which doesn't work
ether: 

/dev/hda7 /mnt/daten   vfat
defaults,rw,utf8,showexec,uid=500,gid=500,fmask=113,dmask=002,context=user_u:object_r:samba_share_t   0 0

So I wonder if sharing fat32 via samba is possible at all.

Christoph




More information about the fedora-list mailing list