← Back to team overview

pyneighborhood team mailing list archive

[Bug 463461] Re: mounting fails

 

Fixed with 0.5.1rc2

** Changed in: pyneighborhood
       Status: Fix Committed => Fix Released

-- 
mounting fails
https://bugs.launchpad.net/bugs/463461
You received this bug notification because you are a member of
pyNeighborhood, which is subscribed to pyneighborhood.

Status in pyNeighborhood: Fix Released

Bug description:
I tried to mount my own share. Option for mount-point: /mnt/pyneighborhood

When klicking on "Anwenden" to mount the share, nothing happens. I've started the program not as root, so I normally have no writing acces to /mnt

I'm using 0.5.1-rc0ubuntu6 from karmic ppa!

Terminal output:

linus@dell-laptop:~$ pyNeighborhood -d
Debug: Starting Browsing Engine...
Debug: Found Master Browser: 192.168.2.100
Debug: 
	DELL-LAPTOP     <20>
Debug: 
	WORKGROUP       <1e>
Debug: Master Browser 192.168.2.100 has Workgroup WORKGROUP
Debug: Querying Host 192.168.2.100...
Debug: ...looking up Hostname & IP...
Debug: 
	DELL-LAPTOP     <20>
Debug: 
	WORKGROUP       <1e>
Debug: ... Workgroup = WORKGROUP, Hostname = noname, Name = DELL-LAPTOP...
Debug: ...done
Debug: Found workgroup: WORKGROUP
Debug: Scanning host DELL-LAPTOP for shares...
Debug: Scanning for Shares: 192.168.2.100
Debug: Running Command '['/usr/bin/smbclient', '-N', '-L', u'192.168.2.100']'
Debug: Found share: (1, u'print$', 1, None, None, None, None, u'Printer Drivers', None, 0, 0)
Debug: Found share: (2, u'freigabe', 1, None, None, None, None, u'', None, 0, 0)
==== WORKGROUP TABLE ====
(1, u'WORKGROUP', u'0', 1, 0)
==== HOSTS TABLE ====
(1, u'DELL-LAPTOP', u'192.168.2.100', u'noname', 1, None, u'0:0', 1, 0)
==== SHARES TABLE ====
(1, u'print$', 1, None, None, None, None, u'Printer Drivers', u'0:0:0', 1, 0)
(2, u'freigabe', 1, None, None, None, None, u'', u'0:0:1', 1, 0)
Debug: target = None
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/lib/pymodules/python2.6/pyneighborhood/mountwindow.py", line 201, in run
    mountpoint, error = self.mount()
  File "/usr/lib/pymodules/python2.6/pyneighborhood/mountwindow.py", line 161, in mount
    mountpoint = self.create_mountpoint()
  File "/usr/lib/pymodules/python2.6/pyneighborhood/mountwindow.py", line 121, in create_mountpoint
    os.mkdir(basedir)
OSError: [Errno 13] Permission denied: '/mnt/pyneighborhood'

I think the GUI should print an error to make clear that it needs writing acces to the folder. Or it should check it when changing the options.

Sorry for y bad english, I'm german! ;)