User Tools

Site Tools


os_cp:users_permissions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
os_cp:users_permissions [2026/03/17 14:00] – [Changing permissions, group and owner of a file] jkonczakos_cp:users_permissions [2026/03/18 20:56] (current) – [Changing permissions, group and owner of a file] jkonczak
Line 334: Line 334:
 The ''chmod'', <small> ''chgrp'' and ''chown'' </small> commands accept switches ''-R'' (''--recursive'') and ''--reference=//file//'' (to clone the permission/<small>group/owner</small> from the referenced file). The ''chmod'', <small> ''chgrp'' and ''chown'' </small> commands accept switches ''-R'' (''--recursive'') and ''--reference=//file//'' (to clone the permission/<small>group/owner</small> from the referenced file).
  
-//Do the exercises on the SSH server indicated during classes (''ssh user//​N//​@fe80::​1%br0'').+//Do the exercises on the SSH server indicated during classes (''ssh user//N//@fe80::1%br0'').
 \\ To create files, you may use e.g., the // ''fortune > //file//'' //command.// \\ To create files, you may use e.g., the // ''fortune > //file//'' //command.//
  
Line 353: Line 353:
 passwd -d user3 passwd -d user3
 passwd -d user4</code> passwd -d user4</code>
-  - Build & use {{so:users_chmod:container-for-file-permission-labs.tar.xz|a docker image}} (provided you're familiar with docker), e.g., using the commands:<code>+  - Build & use {{so:users_chmod:container-for-file-permission-labs.tar.xz|a docker image}} (provided you're familiar with docker), e.g., using the commands:<code bash>
 curl -s https://www.cs.put.poznan.pl/jkonczak/_media/so:users_chmod:container-for-file-permission-labs.tar.xz | tar xJ curl -s https://www.cs.put.poznan.pl/jkonczak/_media/so:users_chmod:container-for-file-permission-labs.tar.xz | tar xJ
 docker build --tag container-for-file-permission-labs container-for-file-permission-labs docker build --tag container-for-file-permission-labs container-for-file-permission-labs
os_cp/users_permissions.1773756052.txt.gz · Last modified: (external edit)