Similar to what has been stated above
chown -R dietpi:dietpi /mnt/HDD/
chmod -R 775 /mnt/HDD/
Similar to what has been stated above
chown -R dietpi:dietpi /mnt/HDD/
chmod -R 775 /mnt/HDD/
/mnt:
total 24
drwxr-xr-x 6 root root 4096 Apr 21 14:49 .
drwxr-xr-x 18 root root 4096 Apr 14 20:32 ..
drwxrwxr-x 3 dietpi dietpi 4096 Apr 21 14:25 HDD
drwxrwxr-x 6 dietpi dietpi 4096 Apr 21 14:22 dietpi_userdata
drwxrwxr-x 2 dietpi dietpi 4096 Mar 17 23:05 ftp_client
drwxrwxr-x 2 dietpi dietpi 4096 Mar 17 23:06 nfs_client
/mnt/HDD:
total 24
drwxrwxr-x 3 dietpi dietpi 4096 Apr 21 14:25 .
drwxr-xr-x 6 root root 4096 Apr 21 14:49 ..
drwxrwxr-x 2 dietpi dietpi 16384 Apr 21 14:25 lost+found
Does it feel right that way?
how do i put the mnt/hdd folder as share?
Share for what?
the mnt/HDD folder I can’t share via samba, the mnt/dietpi_userdata folder is visible, how can I share this folder via samba, do I have to change any settings? Sorry, I’m kind of lost.
Probably you should have had a look to our online docs…File Servers Options - DietPi.com Docs
There it is explained how to change the destination directory.
I have to insert the folders or just copy the lines?
sed -i '/path = /c\path = /Path/To/Directory' /etc/samba/smb.conf
systemctl restart nmbd smbd
you would need to replace the placeholder with your own path.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.