Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have two users with two different groups:

User psoft is attached to psoftgrp group. User db2 is attached to db2grp group.

There is a common folder called FILES with 777 permission owned by psoft. When db2 writes a file, psoft should have read/write permission on those files.

The sticky bit has been set and the new files' group is changed to psoftgrp when db2 writes a file in this directory. The files are created with 600 permission as per umask of db2. The umask of db2 cannot be changed due to the nature of other files owned by db2 user.

I want to setup that the new files created by db2 under FILES folder will inhereit the permission from parent folder so that psoft will have read/write permission. Can somebody throw some light on this?

Thanks in advance.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.