You are not logged in.
I've been struggling with this for 3 days, searching the forum and howtos with no luck.
I'm trying to get write access to a samba share from my xp laptop. I can browse the share folder from xp, but I can't edit/change/add files.
/etc/samba/smb.conf:
[global]
workgroup = HOME
netbios name = Archie
security = user
hosts allow = 192.168.2. 127.
log file = /var/log/samba/%m.log
max log size = 50
wins support = yes
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[share]
comment = Public Share
path = /share
guest ok = yes
public = yes
browsable = yes
writable = yes
read only = no
create mask = 0777
directory mask = 0777
valid users = timm
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
This is what I've done so far:
>pacman -Syu
>pacman -S samba (installed version 3.0.28)
>adduser timm
I didn't know how to give him a blank password, so I deleted it from /etc/shadow.
>smbpasswd -a timm (with blank password)
On the xp box I have user=Timm with no password.
With the above smb.conf, I can access and browse the share from xp, but still no write access. The /share permissions are:
drwxr-xr-x 4 root root 4096 2008-02-13 13:15 /share
I tried chmod 0777 /share, which only works when samba is stopped, but when it's restarted, permissions on /share revert back to read-only. This is where I'm stuck now. Does this make any sense, or am I missing something super obvious??
Last edited by bitpal (2008-02-13 18:41:24)
Offline
OK, so now I learned how to make the chmod file permissions PERMANENT !!
I added umask=0000 to the 4th column in fstab:
/dev/sdb5 /share vfat defaults,umask=0000 0 1
umask subtracts from 0777 and mounts the fs with that.
Now I have full permisssions on the share. YES.
Offline