Menu

[solved]-Assignment Working Intro Unix Course Finish Assignment Run Program Tells Correct Ve Stuck Q39080329

Below is the assignment I am working on for my intro to Unixcourse. I when I finish an assignment I run a program that tells meif I was correct or not. I’ve been stuck on this for 2 days now andI’m hoping I’m just doing a stupid error because I thought Iunderstood it but I can not get it to work correctly. I’ve beenadding and changing permissions, but when I set it up how I thinkit’s supposed to be, it says “wrong”. Can someone help me please?It’d be appreciated to know the answers to this Unix assignment soI can figure out what I’m doing wrong. I personally did chmod -Rg-rwx since that would not effect the user, but it would effectgroups and took away rights (for problem 1), but I have a hunch myerror comes from my first response. Even helping me through the 1stproblem will most likely get me through the rest of this.Thanks!

~/UnixCourse
    You should be able to add and remove files fromthe directory, access files within the directory whose names youalready know, and look through the directory via ls to see whatfiles are in there. No one else should be able to do any of thesethings.

    (This is a good setting for directories whereyou will keep assignments for various courses. After thisassignment, your ~/UnixCourse directory should always be set thisway.)
~/UnixCourse/fileAsst
    You should be able to add and remove files fromthe directory, access files within the directory whose names youalready know, and look through the directory via ls to see whatfiles are in there. People in your group should be able to do lsand to access files, but not add/remove files from the directory.People outside your group should be able to do none of thesethings.

    (Actually, no one but you will really haveaccess to this directory because it’s inside ~/UnixCourse and, ifyou’ve done the prior step correctly, they can’t get inside thereto get to fileAsst. But, for the sake of this exercise, we’llignore that fact.)
~/UnixCourse/fileAsst/Earth
    You should be able to add and remove files fromthe directory, access files within the directory whose names youalready know, and look through the directory via ls. Everyone elseshould be able to use ls but have no other privileges.
~/UnixCourse/fileAsst/Galaxy
    You should be able to add and remove files fromthe directory, access files within the directory whose names youalready know, and look through the directory via ls. Everyone elseshould be able to access files in the directory for which theyalready know the names, but have no other privileges.
~/UnixCourse/fileAsst/Earth/zaphod.txt
    Everyone should be able to read and write tothis file.

~/UnixCourse/fileAsst/Galaxy/trillian.txt
    We will pretend, for the sake of thisassignment, that this file contains an executable program. Youshould be able to read and write to this file. You and members ofyour group should be able to execute it. People other than you haveno other privileges.

Expert Answer


Answer to Below is the assignment I am working on for my intro to Unix course. I when I finish an assignment I run a program that … . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *