Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3387

System and Network configuration • Re: Network share setup issues (multiple installs failed)...

$
0
0
Help still needed but I installed samba and did some setup. I can access the folders but no files or subdirectories - ANYONE KNOW HOW TO CHANGE THE ACCESS RIGHTS TO ALLOW ANONYMOUS? (I did that in capitals so you'd know the main question, not shouting). Process I followed:

Installed samba:

Code:

sudo apt install samba
Opened samba config:

Code:

/etc/samba/smb.conf
Changed in config:

Code:

   workgroup = WORKGROUP -->   workgroup = SKYNET

Code:

[homes]   comment = Home Directories   browseable = no --> yes# By default, the home directories are exported read-only. Change the# next parameter to 'no' if you want to be able to write to them.   read only = yes --> no# File creation mask is set to 0700 for security reasons. If you want to# create files with group=rw permissions, set next parameter to 0775.   create mask = 0700 --> 0777# Directory creation mask is set to 0700 for security reasons. If you want to# create dirs. with group=rw permissions, set next parameter to 0775.   directory mask = 0700 --> 0777
Added in config:

Code:

[share]    comment = Public Files    path = /home/$USERNAME/Public    browsable = yes    guest ok = yes    read only = no    create mask = 0777
Setup folder:

Code:

sudo mkdir -p /home/$USERNAME/Publicsudo chown $USERNAME:$USERNAME /home/$USERNAME/Public
Restarted services:

Code:

sudo systemctl restart smbd.service nmbd.service
Accessed Samba Share:

Code:

smb://Queenie.local:445/
Restart

Statistics: Posted by MCD — 2025-12-25 12:35



Viewing all articles
Browse latest Browse all 3387

Trending Articles