[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: diritti su file e directory



On Wed, 20 Mar 2002 10:04:08 +0100
sidd73 <sidd73@tiscalinet.it> wrote:

:: non c'ho ancora capito molto a riguardo...
:: 
:: volendo dare privilegi di lettura e scrittura ad un utente, o meglio
:: ad un gruppo uso chmod 777, giusto? 

no, con 777 tutti fanno tutto con quel file!
se un file è chmod 777 chiunque può leggerlo, modificarlo ed eseguirlo.

:: e per assegnare un utente ad un
:: gruppo? 

adduser

da man adduser
...
Add an existing user to an existing group
       If called with two non-option arguments, adduser will  add
       an existing user to an existing group.
...

cioè aggiunge un utente esistente ad un gruppo esistente

per i permessi leggiti bene il man di chmod.

-- 
------------------------------------------------------------
	davide pesenti		www . mrjive . it
------------------------------------------------------------
 "confido nella giustizia..."
				-- Wanna Marchi

Attachment: pgpuhtDzlDWaw.pgp
Description: PGP signature


Reply to: