On Fri, 2003-06-13 at 16:28, Mattia Dongili wrote: > > > > > $ chmod -R <startdir> u=rwX,go=rX > > > > > >dove <startdir> e` la directory di partenza. > > > > Non va bene perche setta le directory a 755 e I files a 755!! > > I files devono avere 644 mentre le directory 755 con un solo comando! > > find ./ --type d --exec chmod 755 {} \; && find ./ --type f --exec chmod 644 > {} \; > > ci mette un po' se ci sono tanti files e dir ma funziona > > ... find questo sconosciuto ... :) > > -- > mattia >
Non e' che abbiato sottovalutato il comando chmod -R <startdir> u=rwX,go=rX ?? da man chmod leggo .... The letters `rwxXstugo' select the new permissions for the affected users: read (r), write (w), execute (or access for directories) (x), execute only if the file is a directory or already has execute permis- sion for some user (X), il nostro amico aveva usato X e non x. Stefano