vicker313 tech blog

February 20, 2009

How to share out a SATA hard disk in Fedora

Filed under: Linux — Tags: , , , — vicker313 @ 1:22 pm

Recently I have mounted a 500GB SATA hard disk into a Fedora Core 4 computer. Everything seems OK, the system can detect the hard disk, and I can mount the hard disk to a directory.

However when I try to share out the mounted folder using samba, I cannot mount the shared folder from other computer. It keeps saying no such shared folder or something similar.

After few hours of googling, I finally found the reason. It is caused by the SELinux feature of Fedora Core 4 (or other versions of Fedora). Once I disable the SELinux feature, I can mount the shared folder from other computer without any trouble.

To disable the SELinux feature, use this command:

setenforce 0

To disable it permenantly, edit the following file:

/etc/sysconfig/selinux for FC4 and FC6

/etc/selinux/config for FC9

change selinux=disabled


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: