Accueil
Un article de Nautilus-share, l'encyclopéde libre.
| Sommaire |
[modifier]
Nautilus-Share : A quick and easy way to share your folders!
[modifier]
News
- 22 Sep 2007 : Stable version 0.7.2 (http://gentoo.ovibes.net/nautilus-share/nautilus-share-0.7.2.tar.gz) is out.
- 17 Jul 2007 : Nautilus-share 0.7.1 is now available in ubuntu Feisty and Gutsy, check out the setup and configuration section after you installed the package.
- 17 Dec 2006 : Stable version 0.7.1 (http://gentoo.ovibes.net/nautilus-share/nautilus-share-0.7.1.tar.gz) is out.
- 7 Aug 2006 : Development was moved to gnome svn (http://svn.gnome.org/viewcvs/nautilus-share/trunk/) some months ago, the release: 0.7.0 (http://gentoo.ovibes.net/nautilus-share/nautilus-share-0.7.0.tar.gz) depends on samba 3.0.23 (http://www.samba.org/samba/history/samba-3.0.23.html) (the "net usershare (http://samba.org/samba/docs/man/manpages-3/net.8.html)" feature).
- 24 oct 2005 : Stable version 0.6.4 is out for Ubuntu Breezy.
- 23 jun 2005 : Stable version 0.6.4 is out for fedora.
- 22 jun 2005 : Stable version 0.6.4 is out. (Ubuntu packages available i386 / fedora 0.6.3)
- 08 jun 2005 : Stable version 0.6.3 is out. (Ubuntu packages available i386)
- 05 jun 2005 : Stable version 0.6.2 is out. (Ubuntu packages available i386/ppc)
- 27 may 2005 : Stable version 0.6 is out. (Ubuntu packages available)
- 26 may 2005 : Beta version 0.6 is out. (source code only)
- 25 may 2005 : Screenshots of the upcoming version, with more HIG compliance here
- 22 may 2005 : New version 0.5.2 now support dbus Api 0.2x AND 0.3x (thanx Ed Catmur).
[modifier]
Quick Tour (0.6.x)
- A new entry in your nautilus rightclick menu with a nice icon.
- A simple dialog to share your folder, allows you to choose a name and decide to make it readonly or not.
- You can also access it from the properties tab of your folder.
- You can see as you type if the sharename is already used or not.
- Warning and a little text at the bottom when you user more than 12 characters
- When you share a folder, nautilus display a nice palm to visually show you which folders are shared.
[modifier]
How to download and install it
[modifier]
nautilus share 0.6.x
Have a look here
[modifier]
Gentoo
- Nautilus-share is not yet in portage, but you can find an ebuild in gentoo's bugzilla: here (http://bugs.gentoo.org/show_bug.cgi?id=93400). Credits goes to Ed Catmur!
- If you don't know how to use it from bugzilla, mail me, i'll wrote a faq.
[modifier]
Source code (0.7.x only)
- Version 0.7 require samba 3.0.23, you need to configure samba to work with "net usershare"
- nautilus-share-0.7.0.tar.gz (http://gentoo.ovibes.net/nautilus-share/nautilus-share-0.7.0.tar.gz).
- Here are the info from the samba'snet (http://samba.org/samba/docs/man/manpages-3/net.8.html) command to setup usershare
USERSHARE Starting with version 3.0.23, a Samba server now supports the ability for non-root users to add user define shares to be exported using the "net usershare" commands. To set this up, first set up your smb.conf by adding to the [global] section : usershare path = /usr/local/samba/lib/usershares Next create the directory /usr/local/samba/lib/usershares, change the owner to root and set the group owner to the UNIX group who should have the ability to create usershares, for example a group called "serverops". Set the permissions on /usr/local/samba/lib/usershares to 01770. (Owner and group all access, no access for others, plus the sticky bit, which means that a file in that directory can be renamed or deleted only by the owner of the file). Finally, tell smbd how many usershares you will allow by adding to the [global] section of smb.conf a line such as : usershare max shares = 100. To allow 100 usershare definitions. Now, members of the UNIX group "serverops" can create user defined shares on demand using the commands below. The usershare commands are: net usershare add sharename path [comment] [acl] [guest_ok=[y|n]] - to add or change a user defined share. net usershare delete sharename - to delete a user defined share. net usershare info [-l|--long] [wildcard sharename] - to print info about a user defined share. net usershare list [-l|--long] [wildcard sharename] - to list user defined shares.
[modifier]
Compilation from sources
- You need the following dependencies:
- gnome nautilus 2.10
- libglade
- gtk+
- The common procedure as root:
./configure --prefix=/usr make make install
[modifier]
Setup and configuration (apply to Ubuntu Feisty and Gutsy)
- A quick and easy wait to have it running (must be done as root):
export USERSHARES_DIR="/var/lib/samba/usershare"
export USERSHARES_GROUP="samba"
mkdir -p ${USERSHARES_DIR}
groupadd ${USERSHARES_GROUP}
chown root:${USERSHARES_GROUP} ${USERSHARES_DIR}
chmod 01770 ${USERSHARES_DIR}
- use the following /etc/samba/smb.conf:
;/etc/samba/smb.conf [global] workgroup = WORKGROUP ; you can change to your own workgroup security = share usershare path = /var/lib/samba/usershare usershare max shares = 100 usershare allow guests = yes usershare owner only = yes
- Add the samba group to your user (replace your_username by your login):
usermod -a -G ${USERSHARES_GROUP} your_username
- Logout and login
[modifier]
FAQ
- I don't have the new option in the contect menu of nautilus, nor the new tab in the properties
- Did you restart nautilus at the end of the installation? If no, type "nautilus -q" as your user.
- I used more than 12 characters in the name of my share, why can't i see it?
- As far as i know it's a limitation in old version of windows 95/98 and it seems also present in nautilus and smbclient. Try using a shorter name to see if it fix the problem. BTW, it should appear in Win 2k/Xp without problem.
- It looks ugly, you never heard about gnome HIG?
- Look at the screenshots of the upcoming version: here
[modifier]
Author and Contributors
- Sebastien Estienne : <sebastien.estienne@gmail.dot.com> (mailto:sebastien.estienne@gmail.com)
- Ed Catmur : <ed@catmur.co.uk> (mailto:ed@catmur.co.uk) : dbus 0.3x API
- VoJcEK : <vojcek@tlen.pl> (mailto:vojcek@tlen.pl) : polish translation
- Michael Kanis : <mkanis@gmx.de> (mailto:mkanis@gmx.de) : german translation
- WareKala <warekala@hotmail.com> : finnish translation
- Mirko Maischberger <mirko@lilik.it> : italian translation
- Aaron Kurtz <a.kurtz@hardsun.net> : Fedora Core 4 package
- Lucius Curado <luciux@gmail.com> : brazilian translation






