-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
i tried to setup samba, but i just can't get it to work right. i can
write files - but i can't read them ?!?
please help!!!
some example of my problem:
[EMAIL PROTECTED] ~ % smbmount //silverserver/public /home/red/public
Password:
[EMAIL PROTECTED] ~ % ls -l /home/red/public
total 12
- -rwxr-xr-x 1 red users 2 Sep 24 14:25 Textdatei
- -rwxr-xr-x 1 red users 4 Sep 24 14:27 bla
- -rwxr-xr-x 1 red users 4 Sep 22 18:24 test
[EMAIL PROTECTED] ~ % echo "foo" >> /home/red/public/testfile
[EMAIL PROTECTED] ~ % ls -l /home/red/public
total 16
- -rwxr-xr-x 1 red users 2 Sep 24 14:25 Textdatei
- -rwxr-xr-x 1 red users 4 Sep 24 14:27 bla
- -rwxr-xr-x 1 red users 4 Sep 22 18:24 test
- -rwxr-xr-x 1 red users 4 Sep 24 14:31 testfile
[EMAIL PROTECTED] ~ % cat /home/red/public/testfile
cat: /home/red/public/testfile: Permission denied
my smb.conf:
# Samba config file created using SWAT
# from 192.168.0.101 (192.168.0.101)
# Date: 2005/09/24 14:24:27
# Global parameters
[global]
workgroup = SAMBA
server string = Samba Server %v
interfaces = lo, eth0
bind interfaces only = Yes
guest account = samba
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
wins support = Yes
vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
guest ok = Yes
hosts allow = 127.0.0.1, 192.168.0.
hosts deny = 0.0.0.0/0
vfs objects = vscan-clamav
[print$]
comment = Printer Drivers
path = /etc/samba/printer # this path holds the driver structure
write list = root
[HPLJ1100]
comment = HP LaserJet 1100 Network Printer
path = /var/spool/samba
printer admin = root
printable = Yes
[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root
printable = Yes
browseable = No
[public]
comment = Public Files
path = /mnt/files/shares
valid users = red
admin users = root, red
read list = red
write list = red
read only = No
create mask = 0766
directory mask = 0777
[homes]
comment = Home Directories
path = /home/%u
read only = No
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDNUl+146cP2GmnVMRAoyQAJ9YzenR74ExrMwOpA4WnhcbSFvrcwCeM+TO
k0tNBNMgIuHAzCTN8fqjthU=
=GP3y
-----END PGP SIGNATURE-----
--
[email protected] mailing list