Professional Web Applications Themes

umask - FreeBSD

Hello, I have a question aboout the umask under FreeBSD. I couldn't find what it exactly is. It is something for setting files how you set the 'xrwxrwxrw' I found a file where you could chance it but don't knwo anymore what it was. I want to use this for my ftp-server with FreeBSD. I have a directory 'upload' where all my friends can put there files. They are all members of the group 'ftpusers'. But when they put a file in that directory all the other users from the group 'ftpusers' canchange or delete this file. I want to ...

  1. #1

    Default umask

    Hello,
    I have a question aboout the umask under FreeBSD. I couldn't find what
    it exactly is.
    It is something for setting files how you set the 'xrwxrwxrw'
    I found a file where you could chance it but don't knwo anymore what it
    was.

    I want to use this for my ftp-server with FreeBSD.
    I have a directory 'upload' where all my friends can put there files.
    They are all members of the group 'ftpusers'. But when they put a file
    in that directory all the other users from the group 'ftpusers'
    canchange or delete this file. I want to change it so that the write bit
    for the group is off when someonse of the ftpusers group writes
    something in the folder 'upload'. Can I do this with changing the umaks
    and how do I change that? I couldn't found any information on that.

    Thanks ,
    Koen

    koen de wijs Guest

  2. #2

    Default Re: umask

    On Wed, 16 Feb 2005 16:50:56 +0100
    koen de wijs <koendewijsgmx.net> wrote:
    > I have a question aboout the umask under FreeBSD. I couldn't find what
    > it exactly is.
    > It is something for setting files how you set the 'xrwxrwxrw'
    > I found a file where you could chance it but don't knwo anymore what
    > it was.
    >
    > I want to use this for my ftp-server with FreeBSD.
    > I have a directory 'upload' where all my friends can put there files.
    > They are all members of the group 'ftpusers'. But when they put a file
    > in that directory all the other users from the group 'ftpusers'
    > canchange or delete this file. I want to change it so that the write
    > bit for the group is off when someonse of the ftpusers group writes
    > something in the folder 'upload'.
    afair normally you would :

    - chmod 1777 your_upload_dir (for anonymous uploads)
    - do *any* other permission-settings in the config of the FTP-server
    you're running

    albi Guest

Similar Threads

  1. Change default UMASK
    By Ian in forum Ubuntu
    Replies: 4
    Last Post: April 21st, 01:50 PM
  2. contribute dav put umask
    By fletch00 in forum Macromedia Contribute Connection Administrtion
    Replies: 0
    Last Post: May 6th, 07:16 PM
  3. ftp umask question
    By Bert Moos in forum Linux / Unix Administration
    Replies: 4
    Last Post: October 25th, 05:26 AM
  4. Solaris - umask
    By raghav in forum Linux / Unix Administration
    Replies: 4
    Last Post: September 25th, 01:13 PM
  5. Setting up umask for different users for ftp
    By Adam Ardis in forum Sun Solaris
    Replies: 0
    Last Post: July 17th, 03:15 PM

Bookmarks

Posting Permissions

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

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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139