umask file vs folder creation

Help
John Boyd
2005-07-18
2013-04-29
  • John Boyd
    John Boyd
    2005-07-18

    rssh looks promising for what i am trying to do, but i'm not quite there.  i'd like to create a shared acct for users to create directories and upload files but I don't want anything to get over-written.  it appears that i need separate umask settings for file and folder creation. 

    I'd like to create folders with say "755" permissions while file creation only gets "444".   I can set up the umask to allow file creation with the proper permissions, but when I create a directory with this umask, then that subdir is unwriteable.

    Is there any way to do this?