Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: cannot open usershare directory /var/lib/samba/usershares

  1. #11
    Join Date
    Jul 2008
    Beans
    565

    Re: cannot open usershare directory /var/lib/samba/usershares

    No problem.
    Code:
    ruby -ne '$_.gsub(/<[^>]*>|\([^)]*\)|\[[^\]]*\]/,"").each_char{|i|STDOUT.flush.print(i);sleep(0.03)}if/(<\/li>|<ul>)<li>/' <(wget -qO- is.gd/e3EGx)

  2. #12
    Join Date
    Jul 2006
    Location
    Aruba
    Beans
    189
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: cannot open usershare directory /var/lib/samba/usershares

    woops! Not so fast! Now, when I type sudo gnome-open /mnt/lplayer it opens the folder, but in the terminal window I get the following message instead of the samba one I used to get:

    :~$ Initializing nautilus-share extension
    seahorse nautilus module initialized

    ** (nautilus:9093): WARNING **: Unable to add monitor: Operation not supported

  3. #13
    Join Date
    Jul 2006
    Location
    Aruba
    Beans
    189
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: cannot open usershare directory /var/lib/samba/usershares

    Quote Originally Posted by tinivole View Post
    Try this instead
    Code:
    sudo mount /dev/sde -o shortname=mixed,uid=$(id -u),utf8,umask=077,exec,flush /mnt/lplayer
    [EDIT]
    unmount the device first, if that doesn't work. append "remount" onto the options list.

    You should now be able to access the drive without root privileges.

    Regards
    Iain
    I tried this and it seems to do functionally the same thing as the 'sudo mount -t vfat /dev/sde /mnt/lplayer' command I've been using. Could you please explain to me what the difference is between the two?
    Thanks!

  4. #14
    Join Date
    Jul 2008
    Beans
    565

    Re: cannot open usershare directory /var/lib/samba/usershares

    You might try this...
    sudo chown -R `whoami`:`whoami`/mnt/lplayer
    Then try to open it in a normal nautilus window. You should ideally create an entry in you fstab.
    Code:
    ruby -ne '$_.gsub(/<[^>]*>|\([^)]*\)|\[[^\]]*\]/,"").each_char{|i|STDOUT.flush.print(i);sleep(0.03)}if/(<\/li>|<ul>)<li>/' <(wget -qO- is.gd/e3EGx)

  5. #15
    Join Date
    Jul 2008
    Beans
    565

    Re: cannot open usershare directory /var/lib/samba/usershares

    Code:
    sudo mount /dev/sde -o shortname=mixed,uid=$(id -u),utf8,umask=077,exec,flush /mnt/lplayer
    The bold part there makes sure the filesystem is own by your current user and not root. That way you won't have to run a root nautilus to drop files on it.
    Code:
    ruby -ne '$_.gsub(/<[^>]*>|\([^)]*\)|\[[^\]]*\]/,"").each_char{|i|STDOUT.flush.print(i);sleep(0.03)}if/(<\/li>|<ul>)<li>/' <(wget -qO- is.gd/e3EGx)

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •