Exclude a directory from a Share - SMB

This is a discussion on Exclude a directory from a Share - SMB ; Hi there i have shared a directory and in this directory is one which i dont want to share! how can i exclude this? greetz Berick...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Exclude a directory from a Share

  1. Exclude a directory from a Share

    Hi there

    i have shared a directory and in this directory is one which i dont
    want to share! how can i exclude this?

    greetz

    Berick

  2. Re: Exclude a directory from a Share

    In article ,
    Berick wrote:
    > i have shared a directory and in this directory is one which i dont
    > want to share! how can i exclude this?


    You could change the Unix permissions on the directory to be excluded,
    such that Samba users would not have read or execute permissions. The
    man page for chmod(1) might help.
    --
    /dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
    or put "not-spam" or "/dev/rob0" in Subject header to reply

  3. Re: Exclude a directory from a Share

    "Berick" wrote in message
    news:f15d283f.0401090512.1fab819f@posting.google.c om...
    > Hi there
    >
    > i have shared a directory and in this directory is one which i dont
    > want to share! how can i exclude this?


    [myshare]
    path = /var/test
    veto files = /var/test/private

    where /var/test/private can be a file or directory.

    Mark



+ Reply to Thread