Oops... sorry Allan, meant to send this to the list. Also note that I added
my old settings for my 'sharrea' share at the bottom - the settings that
were read-only.
On Thu, 16 Jan 2003 17:33, Allan Andersen wrote:
> 1. When I look at the share from my Windows all the none US chars are
> showed wired or sometimes not even showed at all.
Sorry, can't help you with this one.
> 2. I would like my user to have write permissions (when I log in from
> the Windows PC) at the share but somehow I get denied.
Had the same problem until a few minutes ago - just fixed it. For now
though, I am using "security = share" rather than 'user' only because I
haven't had time to sort that one out and have been using 'share' for quite
a while and I'm the only one using these computers.
Are you having this problem with other shares like your home dir and/or
public share or is it only the ftp dir that is not writeable?
I will note any differences below in your global settings and give you my
settings for my home dir and a /home/samba/public.
> My smb.conf look like this:
>
> [global]
> log file = /var/log/samba/log.%m
> smb passwd file = /etc/samba/smbpasswd
> load printers = yes
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> encrypt passwords = yes
> dns proxy = no
> printing = cups
> server string = Samba Server %v
> printcap name = lpstat
> security = user
security = share (as noted above)
> preferred master = no
; preferred master = yes (commented out)
> max log size = 50
>
> [ftp]
> browseable = yes
> writable = yes
> path = /home/ftp
> comment = FTP
> public = yes
> user = @swoop
> write list = swoop
>
> As seen above it's the ftp dir I would like to have write permissions.
[public]
comment = Public Stuff
path = /home/samba/public
public = yes
writable = yes
write list = @staff (don't know what this is for but I can write to this
dir)
[sharrea]
comment = Sharrea's home directory
path = /home/sharrea
valid users = sharrea
public = no
writeable = yes
printable = no
create mask = 0765
I also have the same settings as my 'sharrea' share for a few other dirs and
I can write to all of them now.
Here is my OLD 'sharrea' share that was READ-ONLY:
[sharrea]
comment = Sharrea's home directory
path = /home/sharrea
valid users = sharrea
public = yes
writeable = yes
So maybe its the "create mask = 0765" that does it?
> What have I missed? If I turn to the 'man smb.conf' it should be enough
> with 'writeable = yes' or 'write list = username', but somehow it isn't.
Not sure what the 'write list' parameter does but I don't have that on the
'sharrea' share or other shares (downloads; music; etc) and yet I can write
to them.
Does your security setting ('user') match what you have set on your Win
machine? Did you run smbpasswd for each user to add their login password?
Hopefully this may be of some use to you. Good luck.
Sharrea
--
Help Microsoft stamp out piracy - give Linux to a friend today
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com