Child pages
  • Change Permissions in Sites and Public
Skip to end of metadata
Go to start of metadata


Purpose: When using the Sites or Public directories in your network home directory, you may, occasionally, need to change permissions to make the files / folders visible to visitors. Below are steps to take to change permissions.


  1. SSH to any of the lab machines in the barnyard or igppweb.ucsd.edu.
  2. Issue the following command which should make ALL files within your Sites directory readable to visitors to your personal website.: 

    chmod -R o+r ~/Sites/
  3. If there are certain files that should not be accessible to your website visitors, please move them to a private directory such as ~/Documents: 

    mkdir ~/Documents/unpublished; mv ~/Sites/file to ~/Documents/unpublished
  4. These same steps can be applied to files in your Public folder, as well: 

    chmod -R o+r ~/Public/

    and, If there are certain files that should not be accessible to others, please move them to a private directory such as ~/Documents: 

    mkdir ~/Documents/unpublished; mv ~/Public/file to ~/Documents/unpublished



  • No labels