Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have the following in my samba file [usr2-1] path = /usr2 writeable = yes valid users = jane What axactly does -1 do or mean? [usr2-1]?...
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    39

    Samba file configurations

    Hi I have the following in my samba file

    [usr2-1]

    path = /usr2
    writeable = yes
    valid users = jane


    What axactly does -1 do or mean? [usr2-1]?

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    Itīs part of the share name.
    This name does not need to have a -1, nor is it bad to have -1 at the end. The share name can be arbitrarily chosen.

    The path /usr2 seems odd, though.
    In principle, one can chose the directory names arbitrarily as well.
    But /usr is a system directory. /usr2 would indicate, that it is also a (duplicate) system directory.
    Imho, a path /data or /shares would be more appropiate, but ymmv.
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...