vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| # This starts from current directory and also runs through subdirectories find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 754 {} \; Be careful where you do this!! From root (/) you will change ALL the files/directories on the system and some things will stop working....for example, rsh and ftp may be affected if the .rhosts or ..netrc files get the wrong permissions. Steve |
| ||||
| gg wrote: > In a single command i have to give OR set of commands i have to give > Directories Permission 755 and Files 754 ... i have huge number of dirs > and files.. give me simple procedure .. > help me .. find . -type d -ls -exec chmod 755 {} ;\ find . -type f -ls -exec chmod 754 {} ;\ > > > thanks > |
| Thread Tools | |
| Display Modes | |
|
|