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

Thread: Any GUI app to configure samba / file sharing on XFCE 4.8?

  1. #11
    Join Date
    Jun 2007
    Location
    Eltham, Vic, Australia
    Beans
    190

    Re: Any GUI app to configure samba / file sharing on XFCE 4.8?

    Rather than installing Nautilus and Nautilus-Share you can install Dolphin and kdenetwork-filesharing and use it to setup shares. It will not take over the desktop like Nautilus, but it will drag in a lot of KDE. But then once it has done it's job you can remove it (maybe). Make sure Samba is installed first.

    Dolphin is not as simple as right click share, you select configure file sharing and add the folders to the list.

  2. #12
    Join Date
    Dec 2009
    Beans
    5,461

    Re: Any GUI app to configure samba / file sharing on XFCE 4.8?

    Actually, CryNGRoad had a very clever solution to this issue:
    Just create a custom action (Edit menu>Configure custom actions) to run the following command only on directories:
    Code:
    net usershare add %n %f "" Everyone:R guest_ok=y
    I would suggest just one more addition to that command in order to completely duplicate the actions taken by nautilus-share on Gnome for a guest accessible share:
    Code:
     net usershare add %n %f "" Everyone:F guest_ok=y && chmod 777 %f
    This way there is no need for Nautilus, Dolphin, or any other aquatic animal.
    Last edited by Morbius1; January 24th, 2012 at 01:04 PM.

  3. #13
    Join Date
    Jun 2008
    Location
    Surabaya, Indonesia
    Beans
    33

    Re: Any GUI app to configure samba / file sharing on XFCE 4.8?

    Quote Originally Posted by Morbius1 View Post
    What are the Linux permissions of the "shared" share?
    Code:
    ls -al /path/to/"shared"/folder
    Code:
    kholis@kalau:~$ ls -al /home/kholis/shared/
    total 36
    drwxrwxrwx   2 kholis kholis  4096 2012-01-24 21:24 .
    drwxrwx--- 130 kholis kholis 32768 2012-01-24 18:04 ..
    -rw-rw-r--   1 kholis kholis     0 2012-01-24 16:58 test.txt

    Quote Originally Posted by Morbius1 View Post
    Actually, CryNGRoad had a very clever solution to this issue:
    I would suggest just one more addition to that command in order to completely duplicate the actions taken by nautilus-share on Gnome for a guest accessible share:
    Code:
     net usershare add %n %f "" Everyone:F guest_ok=y && chmod 777 %f
    This way there is no need for Nautilus, Dolphin, or any other aquatic animal.
    I've tried it. Produce same issue.
    Code:
    kholis@kalau:~$ net usershare info
    [shared]
    path=/home/kholis/shared
    comment=
    usershare_acl=Everyone:F,
    guest_ok=y
    I've tried this too, but produce same error. http://forums.linuxmint.com/viewtopic.php?f=197&t=88255

    Maybe any other configuration in /etc/samba/smb.conf or something?

    Thanks

  4. #14
    Join Date
    Dec 2009
    Beans
    5,461

    Re: Any GUI app to configure samba / file sharing on XFCE 4.8?

    Your problem is here:
    drwxrwx--- 130 kholis kholis 32768 2012-01-24 18:04 ..
    Those last three "---" indicates the permissions allowed to "other" in linux and "guest" in Samba. The remote Samba guest has no permissions to open up your home directory to access the shared folder within it.

    You have 2 options:

    [1] chmod the home directory to allow guests to at least access the subfolders:
    Code:
     chmod 0775 /home/kholis
    [2] Keep permissions on the home folder as it is and change your smb.conf to convert the remote guest to you:

    Edit /etc/samba/smb.conf and add the following line to the [global] section - right under the workgroup line:
    Code:
    force user = kholis
    Then save the file and restart samba:
    Code:
    sudo service smbd restart

  5. #15
    Join Date
    Jun 2008
    Location
    Surabaya, Indonesia
    Beans
    33

    Re: Any GUI app to configure samba / file sharing on XFCE 4.8?

    Quote Originally Posted by Morbius1 View Post
    Your problem is here:
    Those last three "---" indicates the permissions allowed to "other" in linux and "guest" in Samba. The remote Samba guest has no permissions to open up your home directory to access the shared folder within it.

    You have 2 options:

    [1] chmod the home directory to allow guests to at least access the subfolders:
    Code:
     chmod 0775 /home/kholis
    [2] Keep permissions on the home folder as it is and change your smb.conf to convert the remote guest to you:

    Edit /etc/samba/smb.conf and add the following line to the [global] section - right under the workgroup line:
    Code:
    force user = kholis
    Then save the file and restart samba:
    Code:
    sudo service smbd restart
    It's work now. Thanks Morbius for excellent explanation.

  6. #16
    Join Date
    Oct 2012
    Beans
    16

    Question Re: Any GUI app to configure samba / file sharing on XFCE 4.8?

    Quote Originally Posted by Morbius1 View Post
    Actually, CryNGRoad had a very clever solution to this issue:
    I would suggest just one more addition to that command in order to completely duplicate the actions taken by nautilus-share on Gnome for a guest accessible share:
    Code:
     net usershare add %n %f "" Everyone:F guest_ok=y && chmod 777 %f
    This way there is no need for Nautilus, Dolphin, or any other aquatic animal.
    I tried those but still failed to see the shared folder in the network.

    What is the prerequisite? Should i installed samba or something else first?
    I got fresh xubuntu 12.04.
    - - - - -
    edit: please ignore my post, i installed samba and the tips works. Sorry
    Last edited by kruget; October 1st, 2012 at 09:02 PM. Reason: installed samba

  7. #17
    Join Date
    Dec 2010
    Beans
    9

    Re: Any GUI app to configure samba / file sharing on XFCE 4.8?

    ok lost i installed samba and whatnot and have 3 other pc's with the same xubuntu 13.x install... i wanna use the main pc to store all the movies and whatnot and be able to access them from any of the pc's on the network any ideas?

  8. #18
    Join Date
    Aug 2009
    Beans
    8

    Re: Any GUI app to configure samba / file sharing on XFCE 4.8?

    Hi not sure you managed to sort it out.

    Have you added your user name to smb?

    In terminal add the following $sudo smbpasswd -a yourUsername

    It will ask for the sudo password and then your password for smb twice to check for typos.

    Hope it helps.

    Regards

Page 2 of 2 FirstFirst 12

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
  •