Linux, please
avocado is an empty file
Q14 – Specify a single line command that gives the owner and group permission to execute the file avocado while giving the owner sole permission to read and write the file. Do not change any other permission, i.e., do not remove permission from others to execute the file, if they already have that permission.
Q15 – File/directory permissions are subject to permissions on the parent directories. For example, consider the file /home/dv35/cs265/lab1.txt. If I wanted to allow others to read that file, then I would give 644 permissions to the lab1.txt file, so others have read permission on that file. But that would not be enough. The directory /home already has 755 permissions. I also would need to give what permission to dv35 and cs265 directories, so others have permission to visit it?
Answer 14
************
chmod u=+rwx,g=+x avocado
Answer 15
***********
home directory is having highest permission 755 means read ,write
,execute ; read execute; read execute for user , group and other
respectively now if you give permission 644 which is already less
then 755 so no need give specific permission to directory as
lab1.txt set 644 .
if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and i can edit and change the answers if you argue, thanks :)
Get Answers For Free
Most questions answered within 1 hours.