Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting shares to work with NTFS external drive on Windows 10 #13

Open
dfjerstad opened this issue May 26, 2023 · 0 comments
Open

Getting shares to work with NTFS external drive on Windows 10 #13

dfjerstad opened this issue May 26, 2023 · 0 comments

Comments

@dfjerstad
Copy link

dfjerstad commented May 26, 2023

Hello, I thought it might be helpful to someone to document how I was able to get this repository to work for me. I have a Yunohost server in home that I access via SSH.

Nothing was appearing to work until I did a couple things.

  1. Added user to Samba via smbpasswd -a

sudo smbpasswd -a myusername

  1. Edited smb.conf to edit default share

Note: Ignore the warning at the top of this file; The owner of this repository has added this by mistake because editing the "subparts" actually does nothing here. Samba uses "smb.conf" and would include subparts if they were listed in "includes.conf" but there is no such file here.

Edited "[share]" (or create a new unit) to reflect the following:

[share]
   comment = share
   read only = no
   path = /path/to/ntfs
   guest ok = yes
   browseable = yes
   public = yes
   force user = myusername

Thus, removing the directory permissions which will interfere with NTFS file permissions.

  1. Restarted Samba

sudo service smbd restart

  1. Navigated to share in Windows: Press Win+R and type in "\\192.168.1.20\" (or whatever the IP address of your Samba share is) and press Enter. My NTFS share is now visible and usable.

This worked for me, I hope it will work for you as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant