You are not logged in.
Pages: 1
I'm trying to set up Samba for sharing some media files with my xbox (xbmc), and to some extent the Windows boxes in the house. I want to enable a guest account so that no password is required for browsing and reading the files. My smb.conf is as follows:
[global]
workgroup = DE_LAVAL
netbios name = chucky-desktop
server string = Chucky desktop Sercer
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
dns proxy = no
security = share
guest account = nobody
map to guest = bad user
[media]
path = /home/chucky/media
browsable = yes
read only = yes
guest ok = yes
[test]
path=/home/chucky/bilder
browsable = yes
read only = yes
guest ok = yes
Whenever I try to access the shares I get "permission denied". I look in the log file, and it states that permission was denied... I've added the nobody account to samba.
What puzzles me most is that when I try to reach the "test" share from my local machine, logged in as the owner of the given path I also get "permission denied".
What have I overlooked?
Offline
Check the filepermissions on the directories you're trying to share.
A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.
Offline
I've added the nobody user to the "users" group, which is the group of the second share ([test]). Shouldn't that be enough? I still can't access it.
Offline
I'm having the same problem. Even trying to get access from my Xbox
I've done this type of sharing for years now, but since the last Arch install I can't get it working.
Is it something that's changed in the Samba package?
Have you solved this and in that case how? Thanks.
Offline
I've got it working, at least as far as read-only access from Windows.
My /etc/samba/smb.conf:
[global]
workgroup = HOME
server string = Samba Server
security = SHARE
passdb backend = tdbsam
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
wins support = Yes
hosts allow = 192.168.2., 127.
[homes]
comment = Home Directories
read only = No
browseable = No
[share]
comment = Public Share
path = /share
read only = No
create mask = 0666
directory mask = 0777
guest ok = Yes
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
I did
chmod 0777 /share
to give full access to the share.
So I can see the files from Windows XP, but I don't have write access.
Can anyone give me pointers on getting write permissions from the Windows box?
Offline
Offline
Pages: 1