[CentOS] directory and file permission help

John Doe jdmls at yahoo.com
Mon Feb 8 10:05:29 UTC 2010


From: adrian kok <adriankok2000 at yahoo.com.hk>
> I move a zip file from window to linux
> but all permission of folder and files are kept in 700 
> How can I change it one time? I don't need to change directory under directory 
> to change as
> folder as 755
> and 
> files as 644

You could use find -type X (X = 'd' for directories and 'f' for files)

JD


      



More information about the CentOS mailing list