Find the answer to your Linux question:
Results 1 to 4 of 4
hi folks. i have to create a share with the following settings: * only one group will have access * the users are allowed just to create files, not write ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    11

    specific samba share settings


    hi folks.

    i have to create a share with the following settings:
    * only one group will have access
    * the users are allowed just to create files, not write or ever read access
    * it will only allow .xml files

    i know that there is a 'veto' option on samba, but i don't know how to block all file types, except one. the specific files permissions are a doubt to me too.

    any help is appreciated. tks in advance

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    the first two are pretty easy, you just have to set it up to allow only that group to write, using the "write groups" option I believe, also, you can specify the newly created files to have certain permissions, I think its "force create mode" i'm not sure, i guess you would force files to have the permission 000 when created, this would allow no one but root to have access, I would look at the man pages for samba for the exact directive for your samba conf.

  3. #3
    Linux Newbie sarlacii's Avatar
    Join Date
    May 2005
    Location
    South Africa
    Posts
    110
    Er, group access and user permissions are catered for, but I have never tried to limit file types. LOL And here I thought that samba/cifs had too many options!
    Just had a quick look through the KDE config tool, which I find very good, and though it covers user and group permissions extensively, I cannot find anything related to file type permissions. Hmm... .
    You may be forced to contact the samba mailing list directly for this. See Samba - opening windows to a wider world.
    Respectfully... Sarlac II
    ~~
    The moving clock K' appears to K to run slow by the factor (1-v^2/c^2)^(1/2).
    This is the phenomenon of time dilation.
    The faster you run, the younger you look, to everyone but yourself.

  4. #4
    Just Joined!
    Join Date
    Jan 2009
    Posts
    11
    i'll look for theses options for now. but the file type settings still are a mistery to me

Posting Permissions

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