This is just the symlink, which has always root:root owner but 777 permissions, hence is global R/W accessible. Important is the target dir permissions:
ls -al /mnt/dietpi_userdata/
samba server sharing issue
Re: samba server sharing issue
internal dir(/opt/Radarr) seems to work ok! I can see its files in smb client in android.
any ideas for the external /mnt directory?
any ideas for the external /mnt directory?
Re: samba server sharing issue
root@DietPi:~# ls -al /mnt/dietpi_userdata/
total 36
drwxr-xr-x 1 dietpi dietpi 4096 Dec 11 20:13 .
drwxrwxrwx 1 root root 20480 Nov 24 21:49 ..
drwxr-xr-x 1 debian-deluged debian-deluged 0 Dec 11 20:36 deluge
drwxrwxr-x 1 dietpi dietpi 4096 Dec 11 18:26 downloads
drwxrwxr-x 1 dietpi dietpi 0 Dec 8 22:52 Music
drwxrwxr-x 1 dietpi dietpi 0 Nov 10 11:23 Pictures
drwxr-xr-x 1 radarr dietpi 4096 Dec 14 17:20 radarr
drwxr-xr-x 1 sonarr dietpi 4096 Dec 14 17:20 sonarr
drwxrwxr-x 1 dietpi dietpi 0 Nov 10 11:23 Video
root@DietPi:~#
Re: samba server sharing issue
Hmm okay, not 100% sure. Does the samba server report any issues? E.g.
Code: Select all
journalctl -u smbd
cat /var/log/samba/error.log # Not sure how the file is called exactly
Re: samba server sharing issue
i changed the smb dir back to /mnt/dietpi_userdata and it works (at least in android)!!
thanks for the support guys!
thanks for the support guys!
Re: samba server sharing issue
Okay yes userdata dir permissions look fine. Let me know if Windows still has issues, I never used it from there hence not sure about client specific needs.
Re: samba server sharing issue
I guess you would need to enter the full path into W10 Explorer
\\<<your Samba Server IP >>\dietpi
At least, that's how it is working for me
\\<<your Samba Server IP >>\dietpi
At least, that's how it is working for me
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: samba server sharing issue
I use the full path "\\192.168.1.118\dietpi" but the access is denied.
maybe windows cannot identify some special characters (i had this issue 2 months ago, when i was trying smb share through dietpi).
Anyway, since android sharing is ok, i am fine at the moment.
Re: samba server sharing issue
Well, this was reason enough for me to register for an account to post... I installed SAMBA with no mods, no mods in user accounts or passwords, etc. About as vanilla as you can get. I'm getting the same "Access Denied" as the OP is. Just pointing out that it's not user error as this seems to imply.
Cheers,
GregMo