Start talking the Unix command language
සම්පූර්ණ කිරීමේ අවශ්යතා
Start discussions: 1
Post replies: 1
This assignment is about file permission. You are expected to create the following file structure inside your home directory:
.
├── class/
│ └── notes.txt
│
└── dropbox/
│
└── public_html/
└── index.html
Those directories and the files inside should have the following permissions:
- The directory class should allow others to take copies of the files in it - but not edit nor delete the originals.
- Everybody in your class must be able to deposit files in the directory dropbox.
- The directory public_html and the file index.html inside it must be readable for the world but not editable by anybody except you. Note that the web server running in the machine will then deliver that index.html at a URL like http://lab.edunet.lk/~a01/.
Note: Until we study text editors in the coming section, you can just change to public_html directory and open the 'nano' editor by typing, 'nano index.html'. It displays how to save and exit at the bottom of its screen.
Added 20 February. Now you've learnt Vi. Make your HTML file in Vi!
You are given a user a99 (password a99a99 - will be changed regularly) to check the correctness of your work.
Then announce in the forum. Mention your (three-letter) username and the URL of your homepage. Don't tell us _how_ you solved it, just say that you have done it!
@Others, test the solutions that have been announced and give feedback!
Added 23 February: Things you can test:
- Whether the homepage is displayed
- Whether you can change the homepage or delete it
- Whether you could copy the files in class/ to somewhere else
- Whether you could change or delete any files in class/
- Whether you could copy a file in to the dropbox/.
- Whether you found in dropbox/ files from others.
- Whether you could see their content, change the content or delete the files altogether.
එක් එක් පුද්ගලයාට එක කතිකා මාතෘකාවක් ආරම්භ කිරීමට ඉඩ දෙනු ලැබේ.
මෙම සංසදයෙහි තවම කිසිදු කතිකා මාතෘකාවක් නොමැත.