Here the given files are entry1 and entry3 with current permissions set to -rwxrwxrwx.
The picture below shows that the files entry1 and entry3 have the permissions set to -rwxrwxrwx.
P.S.: entry1 is actually a directory and therefore it has permissions drwxrwxrwx and entry3 is a file and therefore has permissions -rwxrwxrwx.
To change the permissions of the file entry1 to dr--r-xrwx, the following symbolic permissions are supplied to the chmod command,
chmod u-wx entry1
chmod g-w entry1
The executed commands have been shown in the picture below along with the changed permissions:
To change the permissions of the file entry3 to -rw--w---x, the following symbolic permissions are supplied to the chmod command,
chmod u-x entry3
chmod g-rx entry3
chmod o-rw entry3
The executed commands have been shown in the picture below along with the changed permissions:
Therefore, the above symbolic commands supplied to chmod will get the required work done.
Explanation:
Consider the following example,
In the above example, the first letter d states that the file is a directory. The three consecutive letters after d state the permissions for the user, the next three letters state the permissions for the group and the next three letters after state the permissions for others.
r - read permission
w - write permission
x - execute permission
The two following names root and root state that the file belongs to the user root and the file's group root respectively.
To change the permissions using the symbolic permissions supplied to chmod command, one can use the combination of the below keywords,
u - stands for user
g - stands for group
o - stands for others
a - stands for all
+ to set this permission
- to remove this permissions
= to set exactly this permission
Hence, for example, chmod u-wx entry1 removes the user permissions for write and execute for file entry1.
Assuming the current permissions are set to-rwxrwxrwx for each of the files listed below, what would...
Please complete in JAVA only
PROBLEM: CHMOD is a command in the UNIX computer system. It is the command used for giving users permissions to access and change files and directories. There are 3 classes of users. They are the owner, the group and others. The permissions given are: read(r, write(w) and execute(x). The argument of the CHMOD command is a 3-character octal number (ex. 526). When each digit of that number is converted to binary, the binary digits are...
do numbers 4-8
4. Given any directory, use the Is command to display: • all files and sub-directories starting with the letter "D" (note do not list anything in any sub-directory) • its immediate sub-directories (sub-directories only, and no other ordinary files) its immediate hidden sub-directories only - take a screenshot (#3-3) that clearly shows the command and the result. 5. Assume that the following files are in the working directory: $ ls intro notesb ref2 section 1 section3 section4b...
Increases and decreases in various types of accounts are listed below. In each case, indicate by "Dr." or "Cr." (a) whether the change in the account would be recorded as a debit or a credit and (b) whether the normal balance of the account is a debit or a credit. (a) (b) Recorded As Normal Balance 1. Increase in Common Stock 2. Increase in Dividends 3. Decrease in Accounts Receivable 4. Increase in Note Payable 5. Increase in Accounts Payable...
Instructions: a. Match each question with the method listed below that would be used in providing a solution. b. Compute the answer to each of the following questions listed below and on the right. Method A. Present Value or Future Value of a Single Sum B. Future Value of an Ordinary Annuity C. Future Value of an Annuity Due D. Present Value of an Ordinary Annuity E. Present Value of an Annuity Due F. Present Value of a Deferred Annuity...
Listed below are selected transactions of Cheyenne Department Store for the current year ending December 31 1. On December 5, the store received $490 from the Selig Players as a deposit to be returned after certain furniture to be used in stage production was returned on January 15. 2. During December, cash sales totaled $821,100, which includes the 5% sales tax that must be remitted to the state by the fifteenth day of the following month. 3. On December 10,...
A. For each of the scenarios listed below, specify which data analysis technique would be most appropriate and why? I. A university lecturer would like to test whether students who attend tutorials (1 = less than 5, 2 = more than 5) achieve a high or low grade (1 = 4 or less, 2 = 5 or more). II. A fast food restaurant wants to know if there is a significant difference in job satisfaction (1-10 scale) between employees who...
For each of the weak acids listed below, consider how you would make a buffer solution where the weak acid has a concentration of 0.5 M at equilibrium. Determine what molarity for each potassium conjugate base salt would need to be added to make 500 mL of an effective buffer with a pH of 5.32. Which acid would make the best buffer at this pH? Which conjugate base salt would be the most economical (cheapest) out of the three choices? ...
D Question 7 24 pts Prepare journal entries for each activity listed below. If no transaction is necessary, simply write, "No JE necessary". Make sure each debit and credit are clearly labeled, including the dollar amount. Journal entry format example: The company received cash for a sale in the amount of $100. DR Cash 100 CR Revenue 100 1. The company purchased office equipment for $70,000, paying $25,000 in cash and signing a 30-day note payable for the remainder. 2....
Listed below are selected transactions of Sage Department Store for the current year ending December 31. 1. On December 5, the store received $490 from the Selig Players as a deposit to be returned after certain furniture to be used in stage production was returned on January 15. 2. During December, cash sales totaled $803,250, which includes the 5% sales tax that must be remitted to the state by the fifteenth day of the following month. 3. ...
The tables below show the short-run total cost data for each of
three firms (A, B, C) which constitute the industry producing X,
and the market demand schedule facing the industry. The firms
differ in their initial fixed costs.
a. compute the short-run competitive supply schedule for the
industry. That is, for each price (use the prices listed for the
demand schedule), indicate the amount that would be profitable to
produce and supply assuming each firm behaves as a price...