FAQ
Search
Memberlist
Usergroups
Register
Profile
Log in
Recursively chmod 755 folders and 644 files
The Xserve Chronicles Forum Index
»
Scripting
View previous topic
::
View next topic
Recursively chmod 755 folders and 644 files
Posted: Mon Feb 22, 2010 9:53 am
Message
dave
Site Admin
Joined: 22 Apr 2006
Posts: 54
For files:
sudo find /path/to/someDirectory -type f -print0 | xargs -0 sudo chmod 644
For folders:
sudo find /path/to/someDirectory -type d -print0 | xargs -0 sudo chmod 755
The Xserve Chronicles Forum Index
»
Scripting
Page
1
of
1
All times are GMT - 8 Hours
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Jump to:
Select a forum
Bash
----------------
Resources
Scripting
Apache
----------------
General
htaccess
mod_rewrite
PHP
MySQL
----------------
General
Security
----------------
Resources
General
IPFW
RegExp
----------------
Resources
sed
OS X
----------------
General
Joomla
----------------
General
Debian
----------------
General
Apache 2
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
edit your posts in this forum
You
cannot
delete your posts in this forum
You
cannot
vote in polls in this forum