0

I followed this tutorial to install samba on my PI, but I can not write to the files?

my smb.conf:

#======================= Global Settings =======================

[global]
workgroup = WORKGROUP
server string = mypi server
netbios name = mypi
 
dns proxy = no
 
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
 
####### Authentication #######
security = user
map to guest = pi
 
#======================= Share Definitions =======================
[homes]
 
comment = Home Directories
browseable = yes
guest ok = yes
read only = no
create mask = 0775
directory mask = 0775
writeable = yes
guest account = pi
 
[public]
path = /
guest ok = yes
guest account = ftp
browseable = yes
read only = no
create mask = 0777
directory mask = 0777
writeable = yes
admin users = everyone

can someone help me?

0

Found it out!

as root I had to change the file permissions, and then I was able to write to my PI!

screenshot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.