I'm trying to chmod all (web) files to 0644 and dirs to 0755; is there a wy to differentiate files from dirs ?
at the moment, I end up with both files and dirs getting set same, forcing me to then 'correct' dirs to 0755
Voytek Eymont
Try
chmod u=rwX,g=rX,o=rX *
Man of chmod reveals that "execute only if the file is a directory or already has execute permission for some user (X)"
Fil
-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
