aboutsummaryrefslogtreecommitdiffstats
path: root/docs/mcc-help/en/diskdrake--fileshare.xml
blob: 66a5a34545fed6f4d93545e93316868b01427bb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version='1.0' encoding='utf-8'?><section xmlns="http://docbook.org/ns/docbook" xmlns:ns5="http://www.w3.org/1998/Math/MathML" xmlns:ns4="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:ns2="http://www.w3.org/1999/xlink" xmlns:ns="http://docbook.org/ns/docbook" version="5.0" xml:id="diskdrake--fileshare">
  <info>
    <title xml:id="diskdrake--fileshare-ti1">Share your hard disk
    partitions</title>

    <subtitle>diskdrake --fileshare</subtitle>
  </info>

  <mediaobject>
    <imageobject>
      <imagedata  fileref="diskdrake--fileshare.png" revision="1" xml:id="diskdrake--fileshare-im1" align="center" format="PNG" />
    </imageobject>
  </mediaobject>

  <para>This simple tool<footnote><para>You can start this tool from the command line, by typing <emphasis role="bold">diskdrake --fileshare</emphasis> as root.</para></footnote> allows you, the administrator, to allow users to
  share parts of their own /home subdirectories with other users of a same
  local network which may have computers running either Linux or Windows
  operating system.</para>

  <para>It is found in the Mageia Control Center, under the Local Disk tab,
  labelled "Share your hard disk partitions".</para>

  <para>First, answer the question : "<guilabel>Would you like to allow users
  to share some of their directories ?</guilabel>", click on <guibutton>No
  sharing</guibutton> if the answer is no for all users, click on
  <guibutton>Allow all users</guibutton> for all users and click on
  <guibutton>Custom</guibutton> if the answer is no for some users and yes for
  the others. In this last case, the users that are authorised to share their
  directories must belong to the fileshare group, which is automatically
  created by the system. You will be asked about this later.</para>

  <para>Click on <guilabel>OK</guilabel>, a second screen appears which asks
  you choose between <guibutton>NFS</guibutton> or <guibutton>SMB</guibutton>.
  Check <guibutton>NFS</guibutton> if Linux is the only operating system on
  the network, check <guibutton>SMB</guibutton> if the network includes both
  Linux and Windows machines and then click on <guibutton>OK</guibutton>. Any
  required packages will be installed if necessary.</para>

  <para>The configuration is now complete unless the Custom option was chosen.
  In this case, an extra screen prompts you to open Userdrake. This tool
  allows you to add users authorised to share their directories to the
  fileshare group. In the User tab, click on the user to add to the fileshare
  group, then on <guimenuitem>Edit</guimenuitem>, In the Groups tab. Check the
  fileshare group and click on <guibutton>OK</guibutton>. For more information
  about Userdrake, see <link ns2:href="userdrake.xml">this page</link></para>

  <para/>

  <note>
    <para>When adding a new user to the fileshare group, you have to
    disconnect and reconnect the network for the modifications to be taken
    into account.</para>
  </note>

  <para>From now on each user belonging to the fileshare group can select in
  his/her file manager the directories to be shared, although not all file
  managers have this facility.</para>

</section>