Results 1 to 3 of 3

Thread: How do I modify a shared folder created in Nautilus?

  1. #1
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,772
    Distro
    Lubuntu 18.04 Bionic Beaver

    Question How do I modify a shared folder created in Nautilus?

    I'm running Ubuntu 20.04.

    I created a folder, which I made public (chmod a+rwx), and shared it through Nautilus as a public folder open to all. This is to share with other Ubuntu machines on the local network.

    I wish to modify the name of the share. However, I can't find out how to do that. The share isn't listed in /etc/samba/smb.conf, and I can't find a place in Nautilus to make the change. It would also be interesting to find out how to stop sharing the folder if I need to sometime in the future.

    How can I modify or delete the share?

    EDIT: Solution: I originally created the share using root, but forgot about that, which is why I couldn't change the share.
    Last edited by Paddy Landau; September 11th, 2020 at 06:14 PM. Reason: Solution

  2. #2
    Join Date
    Dec 2009
    Beans
    6,539

    Re: How do I modify a shared folder created in Nautilus?

    and shared it through Nautilus as a public folder open to all.
    OK, you went through Local Network Share which is a samba usershare ( nautilus-share ).
    which I made public (chmod a+rwx)
    More of an FYI but there was no need to do that - nautilus-share would do that automatically.
    I wish to modify the name of the share. However, I can't find out how to do that. The share isn't listed in /etc/samba/smb.conf, and I can't find a place in Nautilus to make the change. It would also be interesting to find out how to stop sharing the folder if I need to sometime in the future.
    Right click the shared folder and then select Local Network Share again and you can modify name, sharing parameters, or even "unshare" the folder.

    Samba usershares are defined in /var/lib/samba/usershares. The syntax is different from a Classic Samba share you would find in smb.conf and is usually not edited directly.

  3. #3
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,772
    Distro
    Lubuntu 18.04 Bionic Beaver

    Re: How do I modify a shared folder created in Nautilus?

    Thank you for your help, Morbius1.

    I was seriously confused as to why what you suggested didn't work…

    … until I realised that I'd created the share using root (sudo -H nautilus)!

    When I started Nautilus in root, I could do what I needed.

    So, thanks again. The problem lay with me.

Tags for this Thread

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
  •