[test50@cents ~]$ touch ownFile [test50@centos ~]$ ls -1 ownFile |-rw-rw-r--. 1 test50 test50 0 Nov 18 16:10 ownFile [test50@centos ~1$ [ What is the group owner of the file ownFile? What is the command line you would use to change the group ownership of the file, ownFile to newgrp?

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter14: Files And Streams
Section: Chapter Questions
Problem 2CP: In Chapter 11, you created the most recent version of the MarshallsRevenue program, which prompts...
icon
Related questions
Question
The last set of questions revolves around the concepts of ownership and permissions.
When a user creates a file or directory, that user's user name and primary group become the owner and group owner of the file, respectively.
Consider this newly created file, ownFile. Answer the following two questions.
[test50@centos ~]$ touch ownFile
[test50@centos ~]$ ls -1 ownFile
|-rw-rw-r--. 1 test50 test50 0 Nov 18 16:10 ownFile
[test50@centos ~]$ |
What is the group owner of the file ownFile?
What is the command line you would use to change the group ownership of the file, ownFile to newgrp?
Transcribed Image Text:The last set of questions revolves around the concepts of ownership and permissions. When a user creates a file or directory, that user's user name and primary group become the owner and group owner of the file, respectively. Consider this newly created file, ownFile. Answer the following two questions. [test50@centos ~]$ touch ownFile [test50@centos ~]$ ls -1 ownFile |-rw-rw-r--. 1 test50 test50 0 Nov 18 16:10 ownFile [test50@centos ~]$ | What is the group owner of the file ownFile? What is the command line you would use to change the group ownership of the file, ownFile to newgrp?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Linux
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,