Samba shares
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Tue May 13 20:31:31 UTC 2008
Daniel B. Thurman wrote:
> Mikkel L. Ellertson wrote:
> |Daniel B. Thurman wrote:
> |> I already tried that:
> |> /dev/sda1 /AV ntfs
> |defaults,context=system_u:object_r:samba_share_t 1 2
> |>
> |> Umounting and remounting still retains fusefs_t context.
> |>
> |You have to set the context every time you mount it, because the
> |NTFS does not support contexts...
>
> How is it possible to chcon -t samba_share_t /AV when
> the operation is refused? Seems to me you cannot change
> context no matter what you do?
>
> You can change the context on the /AV directory before
> mounting, but when you mount /AV, context is permenently
> fusefs_t thus chcon operations will be refused.
>
> Please advise,
> Dan
>
mount -o context=system_u:object_r:samba_share_t:s0 -t ntfs /dev/sda /AV
For a fstab entry, try something like:
/dev/sda1 /AV ntfs context=system_u:object_r:samba_share_t:s0 1 2
You have to have the :s0 or it will generate an error.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080513/4c6c7e6c/attachment-0001.sig>
More information about the fedora-list
mailing list