Text: Linux 3. Permissions - commands and options. Provide commands with screenshots. a) Create a new file in the Labs directory. What is the default permission for this file? b) Set the directory permission to 400. What does it mean? c) Set the directory permission to 100. What does it mean? d) Set the directory permission to 200. What does it mean? e) Create a new user called Mybuddy. What are the permissions for Mybuddy? f) How would you change the permissions for Mybuddy?
Added by Eric L.
Step 1
The default permission for this file would be 644, which means the owner has read and write permissions, and others have only read permissions. Command: touch newfile.txt Screenshot:  Show more…
Show all steps
Your feedback will help us improve your experience
James Kiss and 92 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Answer each of the following in terms of an operating system that you use: a. How does the operating system restrict access to only those who are approved users? b. How do you ask the operating system to show you what processes are currently in the process table? c. How do you tell the operating system that you do not want other users of the machine to have access to your files?
In UNIX, which of the following system calls is used for inter-process communication? a) fork b) pipe c) fcntl d) exec
Sanchit J.
What is the definition of the number $e$ ? What does this definition tell you about $\lim _{h \rightarrow 0} \frac{e^{h}-1}{h} ?$ Why is this limit relevant to calculating the derivative of the function $f(x)=e^{x} ?$
Derivatives
Derivatives of Exponential and Logarithmic Functions
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD