Ok, let's see if we can get your problem solved ...
- About the "permission is required" thing:
What's the exact error message and what do you do to get it?
- About your smb.conf
Wait a sec; what's that?
Code:
[MyFiles]
path = /home/dare-devil/
browseable = yes
read only = yes
guest ok = yes
create mask = 0644
directory mask = 0755
force user = dare-devil
force group = WINBLOWS
Are you trying to share your home directory? That won't work out that way.
EDIT What's the "force group" ??? "WINBLOWS"? All uppercase? That looks dead wrong unless you created such a group yourself.
Code:
force user = dare-devil
force group = dare-devil
Would be more right.
/EDIT
If you like to "share" your home, then you should do it that way instead ...
Code:
[global]
; General server settings
netbios name = dare-devil
server string =
workgroup = WINBLOWS
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
;interfaces = lo, eth0
;bind interfaces only = true
passdb backend = tdbsam
security = user
null passwords = true
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast
wins support = yes
printing = CUPS
printcap name = CUPS
syslog = 1
syslog only = yes
; NOTE: If you need access to the user home directories uncomment the
; lines below and adjust the settings to your hearts content.
[homes]
valid users = %S
create mode = 0600
directory mode = 0755
browseable = no
read only = no
veto files = /*.{*}/.*/mail/bin/
; NOTE: Only needed if you run samba as a primary domain controller.
; Not needed as this config doesn't cover that matter.
;[netlogon]
;path = /var/lib/samba/netlogon
;admin users = dare-devil
;valid users = %U
;read only = no
; NOTE: Again - only needed if you're running a primary domain controller.
;[Profiles]
;path = /var/lib/samba/profiles
;valid users = %U
;create mode = 0600
;directory mode = 0700
;writeable = yes
;browseable = no
; NOTE: Inside this place you may build a printer driver repository for
; Windows - I'll cover this topic in another HOWTO.
[print$]
path = /var/lib/samba/printers
browseable = yes
guest ok = yes
read only = yes
write list = root
create mask = 0664
directory mask = 0775
[printers]
path = /tmp
printable = yes
guest ok = yes
browseable = no
;Uncomment if you need to share your CD-/DVD-ROM Drive
[DVD-ROM Drive]
path = /media/dvd-rw
browseable = yes
read only = yes
guest ok = yes
The difference is that I enabled the [homes] section and removed the share you declared at the bottom of the file.
If the directory in question (/home/dare-devil) *IS NOT* the home directory of a valid user account but a badly placed data directory you like to share on the network you may have an issue with the filesystem permissions.
# sudo chmod 0777 /home/dare-devil
# sudo chown dare-devil.dare-devil /home/dare-devil
Again - DO NOT ALTER the permissions if it's the home directory of a valid user account! You may break your local login.
You've been warned.
Restart samba (sudo /etc/init.d/samba restart) and map your home-directory (commandline example):
net use h: \\dare-devil\dare-devil your_password /user:dare-devil /persistent:yes
Awaiting your answer ...
-Storm
Bookmarks