Third share is always read-only

Bug #650795 reported by Pekka Ahola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: samba

I'm using Ubuntu 10.04 32-bit.

I have a strange problem with samba. The third share is readonly, even though the others work just fine. All have the same filesystem flags. If I move media to the top, the other two (work & work2) become readonly, but media is works as expected. I removed all other content of the config file for debugging purposes.

/etc/samba/smb.conf:

[work]
        comment = Old work
        path = /storage/work
        public = no
        writeable = yes
        valid users = streg
        write list = streg
        guest ok = no

[work2]
        comment = Old work2
        path = /storage/work2
        public = no
        writeable = yes
        valid users = streg
        write list = streg
        guest ok = no

[media]
        comment = Shared Media
        path = /storage/media
        public = no
        writeable = yes
        valid users = streg
        write list = streg
        guest ok = no

testparm -s output:

[work]
        comment = Old work
        path = /storage/work
        public = no
        writeable = yes
        valid users = streg
        write list = streg
        guest ok = no

[work2]
        comment = Old work2
        path = /storage/work2
        public = no
        writeable = yes
        valid users = streg
        write list = streg
        guest ok = no

[media]
        comment = Shared Media
        path = /storage/media
        public = no
        writeable = yes
        valid users = streg
        write list = streg
        guest ok = no

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: samba 2:3.4.7~dfsg-1ubuntu3.2
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic-pae 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic-pae i686
Architecture: i386
BothFailedConnect: Yes
Date: Wed Sep 29 06:20:08 2010
ExecutablePath: /usr/sbin/smbd
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron: PATH=(custom, no user)
SambaServerRegression: No
SourcePackage: samba

Revision history for this message
Pekka Ahola (streg) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Please attach your /var/log/samba/ log files.

chuck

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Pekka Ahola (streg) wrote :
Download full text (11.3 KiB)

permissions:
root@hive:/storage# ls -lah
total 52K
drwx------ 10 streg streg 4.0K 2010-10-13 19:58 .
drwxr-xr-x 24 root root 4.0K 2010-10-01 16:21 ..
drwxr-xr-x 4 streg streg 4.0K 2010-10-13 20:00 backup
drwx------ 2 streg streg 16K 2010-08-31 00:49 lost+found
drwxr-xr-x 7 streg streg 4.0K 2010-10-13 20:00 media
drwx------ 4 streg streg 4.0K 2010-10-13 19:58 .Trash-1000
drwxr-xr-x 6 streg streg 4.0K 2010-09-29 19:38 virtualization
drwxr-xr-x 2 streg streg 4.0K 2010-10-17 19:49 work
drwxr-xr-x 2 streg streg 4.0K 2010-10-17 19:44 work2
drwxr-xr-x 3 streg streg 4.0K 2010-10-13 19:57 www
root@hive:/storage#

/var/log/samba/log.smbd
[2010/10/17 19:39:56, 0] smbd/server.c:1069(main)
  smbd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/10/17 19:39:56, 0] smbd/server.c:1115(main)
  standard input is not a socket, assuming -D option
[2010/10/17 19:40:11, 0] smbd/server.c:1069(main)
  smbd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/10/17 19:40:11, 0] smbd/server.c:1115(main)
  standard input is not a socket, assuming -D option
[2010/10/17 19:44:23, 1] smbd/service.c:1063(make_connection_snum)
  bobo-pc (192.168.0.100) connect to service media initially as user streg (uid=1000, gid=1000) (pid 8403)
[2010/10/17 19:44:25, 1] smbd/service.c:1063(make_connection_snum)
  bobo-pc (192.168.0.100) connect to service work initially as user streg (uid=1000, gid=1000) (pid 8403)
[2010/10/17 19:44:28, 1] smbd/service.c:1063(make_connection_snum)
  bobo-pc (192.168.0.100) connect to service work2 initially as user streg (uid=1000, gid=1000) (pid 8403)
[2010/10/17 19:45:10, 1] smbd/service.c:1063(make_connection_snum)
  bobo-pc (192.168.0.100) connect to service tmp initially as user streg (uid=1000, gid=1000) (pid 8403)
[2010/10/17 19:45:27, 1] smbd/service.c:1240(close_cnum)
  bobo-pc (192.168.0.100) closed connection to service tmp
[2010/10/17 19:48:50, 1] smbd/service.c:1240(close_cnum)
  bobo-pc (192.168.0.100) closed connection to service work2
[2010/10/17 19:48:50, 1] smbd/service.c:1240(close_cnum)
  bobo-pc (192.168.0.100) closed connection to service work
[2010/10/17 19:48:50, 1] smbd/service.c:1240(close_cnum)
  bobo-pc (192.168.0.100) closed connection to service media
[2010/10/17 19:48:50, 0] smbd/server.c:1069(main)
  smbd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/10/17 19:48:50, 0] smbd/server.c:1115(main)
  standard input is not a socket, assuming -D option
[2010/10/17 19:48:51, 1] smbd/service.c:1063(make_connection_snum)
  bobo-pc (192.168.0.100) connect to service work initially as user streg (uid=1000, gid=1000) (pid 8430)
[2010/10/17 19:49:00, 1] smbd/service.c:1063(make_connection_snum)
  bobo-pc (192.168.0.100) connect to service media initially as user streg (uid=1000, gid=1000) (pid 8430)
[2010/10/17 19:49:06, 1] smbd/service.c:1063(make_connection_snum)
  bobo-pc (192.168.0.100) connect to service work2 initially as user streg (uid=1000, gid=1000) (pid 8430)
[2010/10/17 19:49:21, 1] smbd/service.c:1240(close_cnum)
  bobo-pc (192.168.0.100) closed connection to service media
[2010/10/17...

Revision history for this message
Pekka Ahola (streg) wrote :

Ah, and currently the problem is with the media-share. No matter how many shares are set up and in which order, now the media-share is read-only from my Windows 7.

Revision history for this message
Pekka Ahola (streg) wrote :

Also the media-share is readonly when I try to use it from the localhost. (Gnome-> connect server)

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.