Ubuntu Linux for Robotics · Lesson 03 of 6
Users and permissions
Ownership, groups, sudo and executable permissions without unsafe shortcuts.
Estimated time · 45–75 min
Guided lesson
Work through these steps
- 1.
Open a terminal and record the current state before changing anything.
- 2.
Follow the guided users and permissions commands one at a time.
- 3.
Read each command's output and compare it with the expected state.
- 4.
Write the successful commands in a setup note you can repeat later.
Example
Try it yourself
id
ls -l ~/robot_ws
chmod u+x ./check-system.sh
# Use sudo only for commands that require administration.Practical exercise
Apply the lesson
Complete a safe users and permissions check on your workstation and save the commands plus outputs in a text file.
Before you continue
- You recorded the starting state
- Every command and output is understood
- The change can be repeated from your notes