Question

The current permissions for a file called SHARE are as follows: -rwx---r--     What are the...

The current permissions for a file called SHARE are as follows:
-rwx---r--
   
What are the resulting permissions after this command is entered?
chmod og+x SHARE

(A) –--x--xr--

(B) –rwx--xr-x

(C) –rwx---r--

(D) –rwx—-x--x

0 0
Add a comment Improve this question Transcribed image text
Answer #1

-rw-r-xr-x

These permissions get after enter the command The actual answer is -rw-r-xr-x

it closely option B maybe some wrong option in options given so Option B is correct if it closely

the exact answer is -rw-r-xr-x

-rw-r-xr-x 1 user user Aug 1 05:53 1 05:53 SHARE

#if you have any doubt or more information needed comment below..i will respond as possible as soon..thanks...

Add a comment
Know the answer?
Add Answer to:
The current permissions for a file called SHARE are as follows: -rwx---r--     What are the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • You need to set the permissions for read, write and execute on a file called SHARE...

    You need to set the permissions for read, write and execute on a file called SHARE to anyone with an account on the same Linux system. Which of the following commands would NOT have the desired effect? (A) chmod a+rwx,o=rx SHARE (B) chmod a+rwx SHARE (C) chmod ugo=rwx SHARE (D) chmod 777 SHARE

  • Write a program in C using Unix system calls and functions that will change the permissions on a ...

    Write a program in C using Unix system calls and functions that will change the permissions on a file. The executable shall be called “mychmod” and will be executed by: mychmod -u rwx -g rwx -o rwx -U rwx -G rwx -O rwx file1 file2 ... The lowercase options will add permissions while the uppercase options will remove permissions. Each of the switches is optional and should be interpreted as the ones in the Unix command chmod(1), you can review...

  • Assuming the current permissions are set to-rwxrwxrwx for each of the files listed below, what would...

    Assuming the current permissions are set to-rwxrwxrwx for each of the files listed below, what would be the symbolic permissions you would need to supply to the chmod command to produce the permissions for each filename presented below: dr--r-xrwx 5 dede instr 287 oct 4, 2010 entry! -rw--w x 5 alby stdnt 481 Oct 4, 2010 entry3

  • Purpose This assignment should give you experience in using file descriptors, open(), close(), wr...

    Purpose This assignment should give you experience in using file descriptors, open(), close(), write(), stat() and chmod(), perror(), and command line arguments. Program Write a C++ program that will allow you to add messages to a file that has NO permissions for any user. A Unix system has many files that have sensitive information in them. Permissions help keep these files secure. Some files can be publicly read, but can not be altered by a regular user (ex.: /etc/passwd). Other...

  • 2. [5] What is the command used to limit the default permissions for new file and...

    2. [5] What is the command used to limit the default permissions for new file and new directory? Please write the command to set the default file permission to -rw- and default directory permission to drwx--x-x

  • (In Linux) 1. Create a file to write to from your script and save it as...

    (In Linux) 1. Create a file to write to from your script and save it as “.txt”. 2. Write the following information to the file that you created in Step 1: Today's date Your full name Your student ID The name of your course What directory you are in File permissions of the file that you created that allow everyone to read, write, and execute The long list of files in your current directory, providing all items and their process...

  • QUESTION 1 From YOUR home directory, execute a find command string that will locate the file...

    QUESTION 1 From YOUR home directory, execute a find command string that will locate the file called resolv.conf. Include the -exec flag in the find command to cat the file to the screen. Begin your find search from the letc directory Select the correct find command string below that will accomplish this. find /etc-name 'resolv.conf -cat D find /etc-name 'resolv.conf -exec cat 0 find. -name 'resolv.conf -exec cat 0\ find /-name 'resolv.conf' -exec cat 0 QUESTION 2 What find command...

  • Unix/Linux The purpose of this lab is to practice the commands to manage and organize files...

    Unix/Linux The purpose of this lab is to practice the commands to manage and organize files and directories: How would one go about this? Thanks. Task 1: Preliminaries: 1) If you have not already done so, create a directory called bin under your HOME directory. 2) If you have not already made a copy (using ftp) of the file called famous.dat from the Assignment#1, do that now. 3) Make bin the active/working directory. Task 2: Perform all of the following...

  • Questions What is the command to compile the files with extra symbols that are useful for...

    Questions What is the command to compile the files with extra symbols that are useful for GDB? What's the address of stuff? What's the address of stuff[0]? Do we expect these to be the same? Why? Explain what the [ ] operator does in C. In Blowfish_Init( ), what is the value of key? What command(s) did you type in order to learn this? In Blowfish_Init( ), what are the values of i and j after the nested for loops...

  • Questions Given this data: drwxr-xr-x 2 asmith staff 4096 Feb 6 19:44 scripts Answer questions 6...

    Questions Given this data: drwxr-xr-x 2 asmith staff 4096 Feb 6 19:44 scripts Answer questions 6 through 13. 6. In the line above, what does the d on the extreme left mean or refer to? 7. What does the letter r mean? 8. What does the letter w mean? 9. What does the letter x mean? 10. On what date was the directory in the line above last modified? 11. To whom or what does the leftmost rwx apply? 12....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT