ls -g

D.A.Glynos glynos at ath.forthnet.gr
Mon Feb 2 11:01:40 EET 2004


On Mon, 2 Feb 2004, Mario Saturno wrote:
> Okay antilipto, paroti sto man page mou leei "ignore" to ls -g
> mou dini ontws diaforetiko result.

To "ignore" shmainei oti "eimaste kaloi kai 3eroume oti kapoios kapote
egrapse ena scriptaki pou xrhsimopoiouse to `ls` kai isws perimene na
uposthrizoume tin `ls -g` command pou kapote uposthrizame, h' uposthrizei
kapoio allo unix userland... Emeis men, mporoume na dwsoume to idio output
me kapoia allh parametro, alla paramenoume kaloi kai sas dinoume mias
morfhs backwards compatibility.."

> Na rwtiso kati akomi stin entolh bash:
> "/usr/bin/find / -xdev -type f \( -perm -004000 -o -perm -002000 \)
> -exec ls -lg {} \; 2>/dev/null >suidfiles.txt"
>
> exei nohma to flag "g" dipla sto "l" ?

Kane to -al kai eisai ok. Opws vlepeis psaxnei gia SUID kai SGID arxeia.
To -lg 8a tou tupwsei sigoura to group twn SGID, alla oxi ton owner
twn SUID..

Thn parapanw entolh thn vrikes mipws apo textbook pou anaferotan se
unix-like operating systems alla oxi sygkekrimena sto linux? :-)

> Malwn oxi.. apo edw proerxete kai h aporia mou peri "g" flag.
>
> Euxaristo.

dimitris




More information about the Linux-greek-users mailing list