Fixing Permissions Problems in your dm server account:

Many people have been encountering permissions problems while working on their A1 (or A2) or after handing the project in on the server.

Introduction:

Sometimes folder and file permissions in DM server accounts get reset in strange ways by how you are copying your files around and putting them on the server (for example, emailing things to yourself, downloading from Dropbox, etc.)

These and other actions may reset file or folder permissions in ways that don't become apparent until your files and/or folders are submitted to the server and you try to view your project through the web (using the URL, and/or using the link on the Student Work page).

The permissions problems may come to your attention when you view your project through the web and some files (images, for example) won't load even though you have checked many times that you uploaded all the A1/A2 files and linked/loaded those files on your pages correctly. Or, you may get a "Forbidden" message when you try to view your project through the web.

Another permissions problem becomes apparent to me (but not to you unless you get an email from me) when I try to copy your project from the server so that I have a backup version on my laptop to mark. Sometimes permissions are set so that they won't allow me to copy anything for marking, even though the files/folders are viewable as normal through the web.

How to Fix the Permissions Problems in your dm server account:

  1. Using your yorkID, log in to a computer in the ATLL (the ACW 102 lab).

    The following steps will not work if you log in as a guest.
    The following options may not be available to you if you are connecting from home, and they may not work if you are connecting from home.

  2. File > Get Info Select the folder containing the files/folders that have permissions problems. For A1 issues, please select your a1 folder. For A2 issues, please select your a2 folder.

  3. Then Get Info on it by choosing File > Get Info from the menu:


  4. bottom a2 info window The Info window for that folder will open up:


  5. At the bottom of the Info window is a section called Sharing & Permissions. Please open Sharing & Permissions if it isn't already open.

  6. Notice the Name and Privilege columns. Your user ID will be there under Name (not in this example image, but when you do this), and other groups will also be listed. You may not see the exact list of groups that you see in this example image.


  7. You will notice that the group everyone in the example image has No Access. If you don't have an everyone group, then notice which/whether groups you do have with a privilege setting of No Access.
    No Access is not desirable. No Access needs to be reset to Read Only instead.

  8. change permissions To set No Access to Read Only instead, select the No Access setting beside everyone (or your group), and, from the options that pop up, choose Read Only instead.

  9. IF there were no groups set to No Access (i.e. your everyone group was already set to Read Only), do this:
    Set the desired group to No Access, and then set it back to Read Only.

    (But remember, the privilege for your own account name should always be set to Read and Write !)


  10. IF the setting is not allowing you to change it to Read Only:

    • Look for a little lock icon at the bottom right of the Get Info window.

    • If the lock icon is locked (as it is in this example image), click it to unlock it.

    • Once it is unlocked, try step 8 and/or 9 (above) again.



  11. change permissions Once access is set to Read Only, check to make sure that there are no other groups set to No Access.

    If other groups have No Access, repeat the above steps to set the permissions of other groups to Read Only instead of No Access.


  12. change permissions Once access is correctly set to Read Only, you now need to apply these same permissions to every file and folder inside of the a1/a2 folder.


  13. Select the name of a group (like everyone in the example image) where you had to fix the permissions.

  14. Then, find the cog icon at the very bottom of the Info window, and click it.

  15. A small menu should pop up, listing options...

  16. Choose Apply to enclosed items...

  17. These steps need to be repeated for each different group requiring you to fix permissions.

  18. Once you have completed all of this, you can close the Info Window.

    If you couldn't view any or part of your project before, now try to view your project through the URL/student work page.

  19. Usually, these steps fix any individual file permissions problems inside the folder you fixed the settings for.
    Occasionally, however, you may need to go into the folder, and find the individual files with permissions problems and reset their settings individually, using steps like those outlined above.