Difference between revisions of "User:DukeEgr93/WindowsPermission"

From PrattWiki
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page contains instructions for setting permissions for a single CIFS folder.  The TAs and instructors for a class will have access to the contents of this folder, and this folder only, if these instructions are carried out correctly.  The object name will vary based upon the semester and course. For Fall 2016, the appropriate objects are:
+
This page contains instructions for setting permissions for a single CIFS folder.  The TAs and instructors for a class will have access to the contents of this folder, and this folder only, if these instructions are carried out correctly.  The object name will vary based upon the semester and course.
 
+
* EGR 103 Spring 2020
* ECE 110L.02 Fall 2016
+
** grouper-duke-oit-applications-toolkits-EGR-103L-001-10221-1710-added_instructors
:: grouper-duke-oit-applications-toolkits-ECE-110L-02-8534-1580-admin
+
* EGR 224 Spring 2020
* EGR 103 Fall 2016
+
** grouper-duke-oit-applications-toolkits-EGR-224L-001-10243-1710-added_instructors
:: grouper-duke-oit-applications-toolkits-EGR-103L-001-9653-1580-admin
 
* Controls (ECE 382 and ME 344L) Fall 2016
 
:: grouper-duke-oit-applications-toolkits-ECE-382-001-10322-1580-admin
 
 
 
  
 
== Setting Permissions ==
 
== Setting Permissions ==
 
=== Mount your drive via windows ===
 
=== Mount your drive via windows ===
** File Explorer -> Computer menu (right-click) -> Map Network Drive
+
* Open File Explorer and click on This PC
*** Drive: Pick an unused letter (this example will use Z:)
+
* At the top of the window, left-click Computer and then Map Network Drive
*** Folder: \\homedir.oit.duke.edu\users\N\NetID
+
** Drive: Pick an unused letter (this example will use Z:)
**** N is the first letter of your NetID; NetID is your NetID
+
** Folder: \\homedir.oit.duke.edu\users\N\NetID
**** If you logged in to the computer using your NetID, you can just Finish; if not, Connect Using Different Credentials.  For Different Credentials, use WIN\NetID for the user name and your OIT password
+
*** N is the first letter of your NetID; NetID is your NetID
 +
*** If you logged in to the computer using your NetID, you can just Finish; if not (for instance, if you logged in from your own computer), select Connect Using Different Credentials.  For Different Credentials, use WIN\NetID for the user name and your OIT password
 +
 
 
=== Set permissions for the main drive ===
 
=== Set permissions for the main drive ===
** Use file explorer to get to the "This PC" window where you see your mounted NetID folder
+
* Copy the appropriate group from above to your clipboard - this will make things much easier later!
** Right-click the NetID folder and choose Properties
+
* Use file explorer to get to the "This PC" window where you see your mounted NetID folder
*** Click Security tab
+
* Right-click the NetID folder and choose Properties
*** Click Advanced near the bottom
+
** Click Security tab
**** Click Add
+
** Click Advanced near the bottom
***** Click Select a Principal
+
*** Click Add
 +
**** Click Select a Principal
 +
***** If you copied the group you need, paste it in this box and then click Check Names; the name should change to the correct group name and you can skip the next step; otherwise
 
****** Click Advanced...
 
****** Click Advanced...
******* In the Common Queries tab, find the Name box.  Make sure the "Starts with" option is selected.  Unfortunately, there is no great way to find the group you need other than to type out just about the entire group name given above - fortunately, you can copy and paste it.  Once you have entered it, click the Find Now button and you should see a search result with a Name of admin and an In Folder that has entries matching those in the name of the group.  Select that group, then click OK.
+
******* In the Common Queries tab, find the Name box.  Make sure the "Starts with" option is selected.  Unfortunately, there is no great way to find the group you need other than to type out just about the entire group name given above - fortunately, you can copy and paste it.  Once you have entered it, click the Find Now button and you should see a search result with a Name of added_instructors and an In Folder that has entries matching those in the name of the group.  Select that group, then click OK.
****** In the Select User, Computer, Service Account, or Group window, admin should now be showing up in the Enter the object name field.  Click OK
+
***** In the Select User, Computer, Service Account, or Group window, added_instructors should now be showing up in the Enter the object name field.  Click OK
<!--****** For object name, type in: mrg@duke.edu
+
**** Set Type: to Allow
****** Click OK
+
**** Set Applies to: to This Folder Only
-->
+
**** Click the List folder contents - note that Read & execute and Read will also be checked.  Since you are setting permissions only for the folder and not the folders or files within, that is fine
***** Set Type: to Allow
+
**** Click OK
***** Set Applies to: to This Folder Only
+
*** Click Apply
***** Click the List folder contents - note that Read & execute and Read will also be checked.  Since you are setting permissions only for the folder and not the folders or files within, that is fine
+
*** If the "Setting security information" window comes up, wait for about 30 seconds.  If the process finished - great!  If not, go ahead and cancel.  If you cancel, a Windows Security warning will come up; click OK for that, then click Cancel in the Advanced Security Settings.
***** Click OK
+
** Click OK in the Properties window
**** Click Apply
+
 
**** Once the "Setting security information" window comes up, wait for about 30 seconds.  If the process finished - great!  If not, go ahead and cancel.  If you cancel, a Windows Security warning will come up; click OK for that, then click Cancel in the Advanced Security Settings.
 
*** Click OK in the Properties window
 
 
=== Set permissions for CLASS (EGR103, ECE110, EGR224, or CONTROLS) folder ===
 
=== Set permissions for CLASS (EGR103, ECE110, EGR224, or CONTROLS) folder ===
** Double-click in your NetID folder
+
* Double-click in your NetID folder
** If the CLASS folder exists; great.  If not,
+
* If the CLASS folder exists; great.  If not,
*** Right-click
+
** Right-click
*** New->folder
+
** New->folder
*** Give the folder the appropriate name (i.e. EGR103, ECE110, EGR224, or CONTROLS)
+
** Give the folder the appropriate name (i.e. EGR103, ECE110, EGR224, or CONTROLS)
** Right-click the CLASS folder and choose Properties
+
* Right-click the CLASS folder and choose Properties
*** Click Security tab
+
** Click Security tab
*** Click Advanced near the bottom
+
** Click Advanced near the bottom
**** Click Add
+
*** Click Add
***** Click Select a Principal
+
**** Click Select a Principal
 +
***** If you copied the group you need, paste it in this box and then click Check Names; the name should change to the correct group name (either instructors or TAs) and you can skip the next step; otherwise
 
****** Click Advanced...
 
****** Click Advanced...
******* In the Common Queries tab, find the Name box.  Make sure the "Starts with" option is selected.  Unfortunately, there is no great way to find the group you need other than to type out just about the entire group name given above - fortunately, you can copy and paste it.  Once you have entered it, click the Find Now button and you should see a search result with a Name of admin and an In Folder that has entries matching those in the name of the group.  Select that group, then click OK.
+
******* In the Common Queries tab, find the Name box.  Make sure the "Starts with" option is selected.  Unfortunately, there is no great way to find the group you need other than to type out just about the entire group name given above - fortunately, you can copy and paste it.  Once you have entered it, click the Find Now button and you should see a search result with a Name of added_instructors and an In Folder that has entries matching those in the name of the group.  Select that group, then click OK.
****** In the Select User, Computer, Service Account, or Group window, admin should now be showing up in the Enter the object name field.  Click OK
+
***** In the Select User, Computer, Service Account, or Group window, added_instructors should now be showing up in the Enter the object name field.  Click OK
<!--
+
**** Type: Allow
****** For object name, type in: mrg@duke.edu
+
**** Applies to: This folder, subfolders, and files
****** Click OK
+
**** Click Full Control
-->
 
***** Type: Allow
 
***** Applies to: This folder, subfolders, and files
 
***** Click Full Control
 
***** Click OK
 
**** On the bottom left of the Advanced window, click the "Replace all child object..." box
 
 
**** Click OK
 
**** Click OK
**** For the Windows Security block, click "Yes" for wishing to continue
+
*** On the bottom left of the Advanced window, click the "Replace all child object..." box
*** In the Properties window, click OK
+
*** Click OK
 +
*** For the Windows Security block, click "Yes" for wishing to continue
 +
** In the Properties window, click OK

Latest revision as of 03:01, 13 January 2020

This page contains instructions for setting permissions for a single CIFS folder. The TAs and instructors for a class will have access to the contents of this folder, and this folder only, if these instructions are carried out correctly. The object name will vary based upon the semester and course.

  • EGR 103 Spring 2020
    • grouper-duke-oit-applications-toolkits-EGR-103L-001-10221-1710-added_instructors
  • EGR 224 Spring 2020
    • grouper-duke-oit-applications-toolkits-EGR-224L-001-10243-1710-added_instructors

Setting Permissions

Mount your drive via windows

  • Open File Explorer and click on This PC
  • At the top of the window, left-click Computer and then Map Network Drive
    • Drive: Pick an unused letter (this example will use Z:)
    • Folder: \\homedir.oit.duke.edu\users\N\NetID
      • N is the first letter of your NetID; NetID is your NetID
      • If you logged in to the computer using your NetID, you can just Finish; if not (for instance, if you logged in from your own computer), select Connect Using Different Credentials. For Different Credentials, use WIN\NetID for the user name and your OIT password

Set permissions for the main drive

  • Copy the appropriate group from above to your clipboard - this will make things much easier later!
  • Use file explorer to get to the "This PC" window where you see your mounted NetID folder
  • Right-click the NetID folder and choose Properties
    • Click Security tab
    • Click Advanced near the bottom
      • Click Add
        • Click Select a Principal
          • If you copied the group you need, paste it in this box and then click Check Names; the name should change to the correct group name and you can skip the next step; otherwise
            • Click Advanced...
              • In the Common Queries tab, find the Name box. Make sure the "Starts with" option is selected. Unfortunately, there is no great way to find the group you need other than to type out just about the entire group name given above - fortunately, you can copy and paste it. Once you have entered it, click the Find Now button and you should see a search result with a Name of added_instructors and an In Folder that has entries matching those in the name of the group. Select that group, then click OK.
          • In the Select User, Computer, Service Account, or Group window, added_instructors should now be showing up in the Enter the object name field. Click OK
        • Set Type: to Allow
        • Set Applies to: to This Folder Only
        • Click the List folder contents - note that Read & execute and Read will also be checked. Since you are setting permissions only for the folder and not the folders or files within, that is fine
        • Click OK
      • Click Apply
      • If the "Setting security information" window comes up, wait for about 30 seconds. If the process finished - great! If not, go ahead and cancel. If you cancel, a Windows Security warning will come up; click OK for that, then click Cancel in the Advanced Security Settings.
    • Click OK in the Properties window

Set permissions for CLASS (EGR103, ECE110, EGR224, or CONTROLS) folder

  • Double-click in your NetID folder
  • If the CLASS folder exists; great. If not,
    • Right-click
    • New->folder
    • Give the folder the appropriate name (i.e. EGR103, ECE110, EGR224, or CONTROLS)
  • Right-click the CLASS folder and choose Properties
    • Click Security tab
    • Click Advanced near the bottom
      • Click Add
        • Click Select a Principal
          • If you copied the group you need, paste it in this box and then click Check Names; the name should change to the correct group name (either instructors or TAs) and you can skip the next step; otherwise
            • Click Advanced...
              • In the Common Queries tab, find the Name box. Make sure the "Starts with" option is selected. Unfortunately, there is no great way to find the group you need other than to type out just about the entire group name given above - fortunately, you can copy and paste it. Once you have entered it, click the Find Now button and you should see a search result with a Name of added_instructors and an In Folder that has entries matching those in the name of the group. Select that group, then click OK.
          • In the Select User, Computer, Service Account, or Group window, added_instructors should now be showing up in the Enter the object name field. Click OK
        • Type: Allow
        • Applies to: This folder, subfolders, and files
        • Click Full Control
        • Click OK
      • On the bottom left of the Advanced window, click the "Replace all child object..." box
      • Click OK
      • For the Windows Security block, click "Yes" for wishing to continue
    • In the Properties window, click OK