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.
Re: Any GUI app to configure samba / file sharing on XFCE 4.8?
Actually, CryNGRoad had a very clever solution to this issue:
Quote:
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.
Re: Any GUI app to configure samba / file sharing on XFCE 4.8?
Quote:
Originally Posted by
Morbius1
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
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
Re: Any GUI app to configure samba / file sharing on XFCE 4.8?
Your problem is here:
Quote:
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
Re: Any GUI app to configure samba / file sharing on XFCE 4.8?
Quote:
Originally Posted by
Morbius1
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.
Re: Any GUI app to configure samba / file sharing on XFCE 4.8?
Quote:
Originally Posted by
Morbius1
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 :)
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?
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