networking question - mac/pc, specific folder

Discussion in 'macOS' started by BabaG, Jan 5, 2007.

  1. BabaG macrumors member

    Jan 5, 2007
    i'm just setting up a small network with a final cut pro system at the
    heart. there is also a simple pc from which i'd like to feed some files
    to the mac. i have successfully gotten them to see each other so far but
    would like help in getting a more specific configuration.

    as things are now, when i log into the mac from the pc i see my user
    account's home folder. what i would like to have happen is that the pc
    only see a specific folder on the mac (osx 10.4.8) rather than the entire
    home folder. the folder i want to have the pc see is not on the main mac
    system drive where the home folder resides, it is on an external sata raid

    on windows i can select specific folders and assign them to share or not
    and each of these folders then shows up in the windows network neighborhood
    as an icon. i'd like to do something like this with a mac folder.

    the reason for this is that the pc is being used for a single purpose,
    generating still photo images which the mac will use. i want to save
    them from the pc directly to a specific folder and not have the pc user
    ever see anything else of the mac. iow, as far as the pc user knows,
    the mac folder is just an external storage location, nothing more.

    every link to info i've found online so far either stops at the info on
    displaying the mac's home folder on the pc, nothing about limiting the
    pc's view to specific folders other than home, or, more commonly, they
    show how to go the other way, displaying pc folders on the mac.

    any clues or links to how i can do this are much apreciated,
  2. 4np macrumors 6502a


    Feb 23, 2005
    The Netherlands
    The weird thing with OSX's default samba configuration is that it shares the entire user folder. As the share configuration is stored in one single configuration file (/etc/smb.conf) you can edit that manually if you want. Make sure to create a backup first though :)

    After you made any changes you have restart samba (smb).

    For more information on the samba configuration file check (for example) this page:

    A quick answer would be:

    comment (add a ; at the beginning of the line) the following section to disable sharing of user dirs:

    ;   comment = User Home Directories
    ;   browseable = no
    ;   read only = no
    add the following section to share (for example) /Users/BabaG/movies:

       path = /Users/BabaG/movies
       public = yes
       only guest = yes
       writable = yes
       printable = no
    good luck :)

Share This Page