Gentoo Archives: gentoo-user

From: Red <red-baron@××××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] weird samba problem
Date: Sat, 24 Sep 2005 12:46:24
Message-Id: 43354980.7080502@chello.at
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 i tried to setup samba, but i just can't get it to work right. i can
5 write files - but i can't read them ?!?
6
7 please help!!!
8
9 some example of my problem:
10
11 red@redworkstation ~ % smbmount //silverserver/public /home/red/public
12 Password:
13 red@redworkstation ~ % ls -l /home/red/public
14 total 12
15 - -rwxr-xr-x 1 red users 2 Sep 24 14:25 Textdatei
16 - -rwxr-xr-x 1 red users 4 Sep 24 14:27 bla
17 - -rwxr-xr-x 1 red users 4 Sep 22 18:24 test
18 red@redworkstation ~ % echo "foo" >> /home/red/public/testfile
19 red@redworkstation ~ % ls -l /home/red/public
20 total 16
21 - -rwxr-xr-x 1 red users 2 Sep 24 14:25 Textdatei
22 - -rwxr-xr-x 1 red users 4 Sep 24 14:27 bla
23 - -rwxr-xr-x 1 red users 4 Sep 22 18:24 test
24 - -rwxr-xr-x 1 red users 4 Sep 24 14:31 testfile
25 red@redworkstation ~ % cat /home/red/public/testfile
26 cat: /home/red/public/testfile: Permission denied
27
28
29
30 my smb.conf:
31
32 # Samba config file created using SWAT
33 # from 192.168.0.101 (192.168.0.101)
34 # Date: 2005/09/24 14:24:27
35
36 # Global parameters
37 [global]
38 workgroup = SAMBA
39 server string = Samba Server %v
40 interfaces = lo, eth0
41 bind interfaces only = Yes
42 guest account = samba
43 log file = /var/log/samba/log.%m
44 max log size = 50
45 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
46 printcap name = cups
47 wins support = Yes
48 vscan-clamav:config-file = /etc/samba/vscan-clamav.conf
49 guest ok = Yes
50 hosts allow = 127.0.0.1, 192.168.0.
51 hosts deny = 0.0.0.0/0
52 vfs objects = vscan-clamav
53
54 [print$]
55 comment = Printer Drivers
56 path = /etc/samba/printer # this path holds the driver structure
57 write list = root
58
59 [HPLJ1100]
60 comment = HP LaserJet 1100 Network Printer
61 path = /var/spool/samba
62 printer admin = root
63 printable = Yes
64
65 [printers]
66 comment = All Printers
67 path = /var/spool/samba
68 printer admin = root
69 printable = Yes
70 browseable = No
71
72 [public]
73 comment = Public Files
74 path = /mnt/files/shares
75 valid users = red
76 admin users = root, red
77 read list = red
78 write list = red
79 read only = No
80 create mask = 0766
81 directory mask = 0777
82
83 [homes]
84 comment = Home Directories
85 path = /home/%u
86 read only = No
87 -----BEGIN PGP SIGNATURE-----
88 Version: GnuPG v1.4.1 (GNU/Linux)
89
90 iD8DBQFDNUl+146cP2GmnVMRAoyQAJ9YzenR74ExrMwOpA4WnhcbSFvrcwCeM+TO
91 k0tNBNMgIuHAzCTN8fqjthU=
92 =GP3y
93 -----END PGP SIGNATURE-----
94 --
95 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] weird samba problem gentuxx <gentuxx@×××××.com>