title: How are permissions inherited on an Ubuntu Server?
body: <p>Sorry for the second newbie question, I'm a developer not a sysadmin so this is all quite new to me. I hope I can explain myself clearly! Here goes.</p>
  
  <p>Here's what I did:</p>
  
  <ul>
  <li><p><strong>Logged into the root account</strong></p></li>
  <li><p>Created the accounts 'richard' and 'austin'</p></li>
  <li><p>Created the group 'developers', and added 'richard' and 'austin' to it</p></li>
  <li><p>Created the directory /server, and used "chown richard:developers /server" to change the owner</p></li>
  <li><p>Changed the permissions of /server to drwxrwxr-x (so the group can write to it)</p></li>
  <li><p><strong>Logged out of the root account, and into the 'richard' account</strong></p></li>
  <li><p>Created the directories /server/production and /server/staging</p></li>
  <li><p>Used "ls -l" inside /server to list the contents, and found permissions of drwxr-xr-x and ownership of "richard:richard" for both /server/production and /server/staging. Consequently, 'austin' can edit inside the /server directory, but not inside the directories 'richard' created.</p></li>
  </ul>
  
  <p>What am I doing wrong? I want to ensure that any files or folders created inside the /server directory have group write permissions and belong to the developers group. How do I go about that?</p>
  
  <p>Thanks for any help!</p>