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
-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

#if you have any doubt or more information needed comment below..i will respond as possible as soon..thanks...
The current permissions for a file called SHARE are as follows: -rwx---r-- What are the...
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 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...
A file named "homework" had the following permissions: -rw-r--r-- Which command could have been typed to change the permissions to this: -r--r----- chmod 440 homework chmod a-r homework chomd g-r homework chmod 465 homework
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
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 files...
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 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 “.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 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 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...