A special call from our dear UWOS cher AH beng Chew... he wan to tell the class sth.. but dunno y he call mi.. haix.. Ok... He found out something special for the umask thing...
when u umask for a DIRECTORY, u will always get a Exercute Permission ... example : umask 246 ( therefore 7 -6 = 1---> Exercute permission only).. but when umask 135( therfore 7-5= 2 --> write permission only.) however, the directory will still have Exercute Permission... thus the directory hav both Write and Exercute permisision for "other" grp. folo? k next......
Whereas u umask for a FILE, u will not always get an Exercute permission... Example: umask 246 ( therefore 7-6 = 1---> exercute permission only) ... so when umask 135( therefore 7-5 = 2 ---> write permission only) so it will not hav exercute permission for "other" grp. k?
haix... u all better test it out urself... If found is different from wad i type.. mayb i forgot some parts... pls tell mi abt it.. and he wan all to try out @ home .. any qns can find him @ 67721945 ( leave a voicemail)... or u can find him on FRI 08/10/04 @ T20 3rd floor which lab i dunno... SO pls pass ard...teach here teach there ba.. do mi a favour..thx!!
Thursday, October 07, 2004
UWOS Special Annoucement ( SHd pUt @ Styke TherE) anyway.. I wrote this the 2nd time... damn
Posted by DeNoN at 10:23 PM 0 comments
Ok.. Special Annoucement... ( Shd put @ styke there)
Hmmm... That Ah Beng Chew had phoned mi toking about the UWOS thing.. He found out something which he want us to try and if any qns, Friday 3.30-5++pm he will be @ T20 (3rd floor dunno which lab) there teaching and we can go there try out the "new Discovery -.-'")...
so wad he found out? --> he said that the umask for Directory file can hav a 1(exercute permission) at the back.. example : umask 246( therefore 7-6 = 1 is Exercute permissions) the value 1 will remain... 2nd example: umask 135 ( therefore 7-5 = 2 Exercute permissions IS not set) but it will still be a value 1( exercute permissions)...
Whereas for Normal File , it can only hav 0 although u umask example umask 246( therefore 7-6 = 1 Exercute) but... It will become a 0(zero) rather den a 1(one)... Thats wad he trying to tell..
FOLO FOLO? he tok over the phone i oso cant hear really properly... so thats wad he briefly say... PLS SPRead to 1A/04 ppl.. teach them oso can... any enquires.. call 67721945.. HE wanted all of u to Try it Out.. and Monday he will ask ba... End of annoucement...
Posted by DeNoN at 10:06 PM 0 comments