هذا الجزء لم يُترجم بعد. أنت ترى النص الإنجليزي.
الهدف
Create two team folders where members work together, new files get the team group, and nobody can delete the files of others.
قبل أن تبدأ
- Work on server1 as root. You need the users and groups from lab 6.1 (
anna,bobinsales;bobinaccount). If they do not exist, create them.
المهام
ضع علامة على المهمة عندما تنتهي منها. متصفحك فقط يتذكر ذلك.
- Create the folders
/data/salesand/data/account. /data/salesbelongs to the groupsales,/data/accountto the groupaccount. The owner of both is root.- Group members may read and write in their folder. Others may not even list the content.
- New files in each folder must get the group of the folder.
- Users may delete only their own files in these folders.
- As
anna, create/data/sales/anna.txt. Asbob, try to delete it (this must fail) and create/data/sales/bob.txt.
تحقّق من عملك
تلميحات
اعرض التلميحات
chown root:GROUPorchgrp GROUP.- 770 for the base rights; SGID = 2, sticky = 1, so the first digit is 3.
الحل
اعرض الحل
ملاحظاتي
لا توجد ملاحظات بعد.