Question : Sharing NTFS partitions with SAMBA

I want to share NFS partitions with Samba in Fedora 13. I can access temp wich gives access to /tmp(ext4 file system), but not temp$ wich gives access to a folder on a NTFS partition. I set up smb.conf as this:

[global]
      workgroup = workgroup
      server string = Samba Server Version %v
      netbios name = homelab
      interfaces = lo eth0
      bind interfaces only = true
      log file = /var/log/samba/log.%m
      max log size = 50
      security = user
      cups options = raw
      guest ok = yes
      guest account = nobody

[homes]
      comment = Home Directories
      read only = No
      browseable = No

[printers]
      comment = All Printers
      path = /var/spool/samba
      printable = Yes
      browseable = No

[temp$]
      path = /home/SDB5/Temp
      valid users = user
      read only = No
      browseable = No

[Training]
      path = /home/SDA6/Training
      read only = yes
      browseable = yes
      guest ok = yes

[temp]
        path = /tmp
        read only = yes
        browseable = no
        guest ok = yes

I have mounted the NTFS partitions via /etc/fstab like this:
/dev/sdb5            /home/SDB5            ntfs-3g      rw      0 0
/dev/sda5            /home/SDA5            ntfs-3g      rw      0 0
/dev/sda6            /home/SDA6            ntfs-3g      rw      0 0

I then do:
ls -al /home/SDA6/Training
total 8995208
drwxrwxrwx. 1 root root       4096 Jul  7 09:19 .
drwxrwxrwx. 1 root root       4096 Jul  7 19:33 ..

Permitions are all the same for the rest of the files in the directory. I also can't change file permitions or ownership with chmod and chown on the ntfs partition.

Any suggestions?

Answer : Sharing NTFS partitions with SAMBA

I started to suspect SELinux, a policy tool that comes with Fedora that I am not familiar with.
Via google I found the command system-config-selinux and executed it. I enabled the following policies:

Allow Samba to share users home directories.
Allow Samba to share any file/directory read only.
Allow Samba to share any file/directory read/write.
Allow Samba to export ntfs/fusefs volumes.

Rebooted and whola! It works! But only if I connect from over the network, when trying to connect locally to the share, I still get this error:

"Cannot display location "smb://[email protected]/temp2/"
DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)"

Thanks for all replies! They have been helpful trying to analyze the problem.

Random Solutions  
 
programming4us programming4us