Jump to content

Dean

Members
  • Posts

    5
  • Joined

  • Last visited

  1. I *think* this is the procedure but someone may have to confirm the steps. Put in your external NTFS drive into a USB port and make sure it works Create a new mount point for the NTFS drive sudo mkdir -p -m2777 /media/static/Backup find the name of your NTFS drive cat /etc/mtab find your user id in and note the gid and uid id Edit fstab sudo nano /etc/fstab to (dev/sda1 is your name that you noted above, /media/static/Backup is the mountpoint you created and uid and gid is your user details) /dev/sda1 /media/static/Backup/ ntfs auto,users,uid=1000,gid=100,dmask=027,fmask=137,utf8 0 0 Install Samba apt-get install libcups2 samba samba-common cups Open Samba configure nano /etc/samba/smb.conf remove everything and alter it to (change 'orangepi' to your username) [global] workgroup WORKGROUP security = user interfaces = lo eth0 bind interfaces only = true map to guest = bad user usershare allow guests = yes force user = orangepi [Public] path = /media/static/Backup writable = yes browsable = yes guest ok = yes guest account = orangepi public = yes read only = no create mask = 0775 directory mask 0664 [home] path = /home/orangepi writeable = yes public = yes only guest = yes Reboot and test
  2. Thanks, managed to mount it in a static directory. Fixed the error and forced the user and now I connect to the share and I can create files etc. Many thanks to you all for helping me out.
  3. No, because I don't know what I'm doing. I've added: UUID=01D1C0AE8B1ED070 /media/orangepi/Backup/ ntfs-3g auto,users,uid=1000,gid=100,dmask=027,fmask=137,utf8 0 0 which seems to still mount the drive but I don't know whether it's the automount or the updated fstab which is mounting the drive. The share still doesn't work.
  4. Thanks for your help. smb.conf: [global] workgroup WORKGROUP security = user interfaces = lo eth0 bind interfaces only = true map to guest = bad user usershare allow guests = yes [Public] path = /media/orangepi/Backup writable = yes browsable = yes guest ok = yes guest account = orangepi public = yes read only = no create mask = 0775 directory masj 0775 [home] path = /home/orangepi writeable = yes public = yes only guest = yes As far as I'm aware I'm trying to use the share as a standalone server, as stated the 'home' share works but it's the 'public' share which fails. I'm using Armbian_5.10_Orangepih3_Debian_jessie_3.4.112_desktop. You're probably right with it being a search away but when you can't see the wood for all the trees and you don't know you're looking at the wood, it's a bit hard.
  5. I've spent a day going crazy trying to sort this and am failing. I want to share an NTFS USB hard drive via samba to a windows machine. At the moment I have shared the home directory which works fine but whenever I try to access the NTFS USB drive I get a permission error from the Windows machine. As far as I can glean it's to do with mounting permissions on the NTFS drive but how do I sort this when armbian automounts the drive?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines