The following article was created with the biggest expense. I have for days (not continuously, but again ;-) looking for a way to share folders on Debian. Again and again I was not present or poorly documented or not configured tools. That was quite a negative experience regarding Debian, GNOME but also because the system can be more than one look at him. With little guidance would have saved myself the hard work can and could start at the point begins where every Ubuntu or Windows users.
While you can share with Ubuntu in the file browser Nautilus, simply right-click a folder (Samba Server GNOME), is exactly in Debian since even the "fun" going on.
How is the tool that I enters the menu item "Sharing"? What I must install and configure, so does it work? The following picture shows the context menu on the left and right of Debian from Ubuntu. More I knew not at that time.
I now can not remember how long and where I've looked everywhere until I found out was that the tool nautilus-share is. You must install the following to the shortcut menu item "Sharing Options" to get (with the right mouse button on the folder):
sudo apt-get install samba smbclient smbfs nautilus-share
The uses alone but in general nothing. Again I was left with nothing. When trying a folder share, namely, appear strange error messages, which even google does not help. This is one message: 'net user share' returned error 255: net user add share can not convert name "Everyone". To a Logon SID failure. " Or again: "'net user share' returned error 255: net user share: can not open user directory share / Var / lib / samba / user shares. Error Permission denied You do not have the permission to create a user share. Ask your administrator to grant you permission to create a share. "
The tool is then installed, but must still be established. Why should Debian also do this for the computer user? But not so the function applied readily ?... can no, so far that will come - I have come to me like encouraging Official
So we would configure itself, but where there's a guide that is really for my system I has been discovered them: in the package list packages? .debian.org / de / squeeze / nautilus-share exists for this package also includes a FileList . Yes, I would be able to look beyond the Synaptic package management - but what you have Internet? ;-) In any case, they tell me where the instructions are on my computer: / usr / share / doc / nautilus-share / README.Debian
I quote again from it (and supplements) you have to configure how
A quick and easy way to have it running (must be done as root):
su
export USERSHARES_DIR = "/ var / lib / samba / user shares"
export USERSHARES_GROUP = "samba share"
mkdir $ {} USERSHARES_DIR
groupadd $ {} USERSHARES_GROUP
chown root: $ {$ {USERSHARES_DIR USERSHARES_GROUP}}
chmod $ 01 770} {USERSHARES_DIR
mv / etc / samba / smb.conf {, bak.}
cp / usr / share / doc / nautilus -share/examples/smb.conf / etc / samba /
/ etc / init.d / samba restart
You must add users who can share folder in the share user group, in this example the group is "samba share "
usermod-a-G samba share your_username
exit
Since you must copy all the rows individually and everything as root, so should run with sudo, I'm right in front of a su enter and exit at the end. Then everything out in between the root.
With my external NTFS hard drive fomatierten I certainly have problems at release. There seem to be permission problems.
Another article with a different path to the folder sharing is coming soon. The experience I have behind me, the post must still be written.
0 comments:
Post a Comment