Thread: 8.04 bug
View Single Post
  #3 (permalink)  
Old 07-20-2008, 11:23 AM
Moog
 
Posts: n/a
Re: 8.04 bug

Hobbes illuminated alt.os.linux.ubuntu by typing:
> Here is a strange bug.
>
> If I gksudo nautilus with a blank CD/DVD in a drive, the command fails
> with a Segmentation fault.
>
> Nice.
>
> Is this by design ?


Well. The same is happening here too. And no, I doubt it is by design.

Digging a little deeper, i.e. having a root nautilaus open while
inserted a blank DVD.

Root nautilus closes and echo's the following error into the terminal
window....

(nautilus:7526): WARNING **: Unable to add monitor: Operation not
supported
Nautilus-Share-Message: Called "net usershare info" but it failed:
'net usershare' returned error 255: net usershare: cannot open
usershare directory /var/lib/samba/usershares. Error No such file or
directory
Please ask your system administrator to enable user sharing.

So. It's actually an issue with Samba. There is already a launchpad
bug open
https://bugs.launchpad.net/ubuntu/+s...re/+bug/211966

Workaround
"The directory didn't exist. I have solved it by doing this

mkdir /var/lib/samba/usershares
chmod 777 /var/lib/samba/usershares
"

HTH

--
"And the back of his anorak was leaping up and down, and people were
chucking money to him. I said 'Do you earn a living doing that?' He
said 'Yes, this is my livelihood.' ~ Tim Vine
Reply With Quote