RE: Samba shares...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Smalley
|On Tue, 2008-05-13 at 08:12 -0700, Daniel B. Thurman wrote:
|> Stephen Smalley wrote:
|> >> Daniel B. Thurman wrote:
|> >> I am not sure what is going on.  I am unable to get
|> >> samba shares to work for an NTFS filesystem.  I do
|> >> have several shares working for ext3 filesystems.
|> >> 
|> >> Here is what I did:
|> >> 
|> >> 1) Create an empty directory: /AV
|> >> 2) chcon -t samba_share_t /AV
|> >> 3) chmod 775 !$
|> >> 4) chgrp avusers !$
|> >> 5) Add to fstab
|> >>    /dev/sda1 /AV ntfs defaults 1 2
   [snipped!]
|
|It is just another mount option, so you can just do something like:
|/dev/sda1 /AV ntfs defaults,context=system_u:object_r:samba_share_t 1 2

Yes, I thought so.  I tried that and the context does not
change.  Any ideas?

Thanks!
Dan

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux