Institute of Computer Science
  1. Courses
  2. 2024/25 spring
  3. Operating Systems (MTAT.08.006)
ET
Log in

Operating Systems 2024/25 spring

  • Esileht
  • Kursuse materjalid

  • 9. praktikum
  • Lingid


  • Vaata allolevat pilti. Anna kasutajale Peeter samasugused õigused nagu on joonisel kuvatud kasutajal Peeter, kaustale Logid.

Lahendus

Käivitan cmd.exe kui administraator (Powershell.exe juures need käsud sellisel viisil ei tööta).

Vaatan kausta C:\logid ligipääsuõiguseid.

  • icacls C:\logid

Tahan C:\logid kausta õiguste juurde saada ühe lisarea:

  • Peeter:(CI)(IO)(WDAC,S,RD,AD,X)

Selleks kasutan eelmise ülesande teadmisi, et icacls käsuga saan ka lisada/muuta õigusi.
Seega on vaja lahenduseks kirjutada vaid rida:

  • icacls C:\logid /grant:r Peeter:(CI)(IO)(WDAC,S,RD,AD,X)

Vaatan tulemust:

  • icacls C:\logid
  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment