files & permittions

Christos Ricudis ricudis at paiko.gr
Fri Jul 17 09:56:19 EEST 1998


Hello Linux-greek-users!

Linux-greek-users wrote to All about "files & permittions":

 L> ....1000 flag (Save text image on execution) or sticky bit.
 L> Sxediasmeno gia na sozei xrono sto xrono prospelaseis kapoiou
 L> arxeiou.... ktl

.... kai poy den exei apolytws kammia ma kammia shmasia sta monterna demand
loading systhmata opws to Linux, ta opoia DEN fortwnoyn sth mnhmh oloklhro to
text image, alla aplws to kanoyn mmap() sto address space toy process.

(...Richard W. Stevens, Advanced Programming in the Unix Environment, page 88 -
Nai, to exei o papaswthriou...).

To sticky bit exei allo nohma omws sta directories - an deis to /tmp 8a
katalabeis. An to baleis se ena world writable directory, periorizei ta write
kai delete operations ston owner toy arxeiou. Dokimase to ekshs :


mkdir kor
chmod gou+rwx kor
su user1
echo kor > kor/file1
su user2
rm kor/file1
su -
chmod gou+t kor
exit
echo kor > kor/file2
exit
rm kor/file2

Ciao,
  Christos
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list