Re: Samba shares

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

 



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
6) mount -a

+ ls -ldZ /AV
drwxrwxrwx root root system_u:object_r:fusefs_t:s0 AV

+ chcon -t samba_share_t /AV
chcon: failed to change context of /AV to system_u:object_r:samba_share_t:s0: Operation not supported.

+ umount /AV (no errors)
+ chcon -t samba_share_t /AV (no errors)
+ mount /AV (no errors)
+ ls -ldZ /AV
drwxrwxrwx root root system_u:object_r:fusefs_t:s0 AV

So... why does the system insists of fusefs_t?
Does this mean that ntfs filesystems does not support samba_share_context?

HELP!!!

Thanks!
Dan

When you mount the file system, the mount point gets the context of the file system, not the mount point. You can specify the context as part of the mount command. (see the context option of the mount command in the mount man page.)

Mikkel
--

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux