Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-24-2003, 02:39 PM   #1
pornJester
Confirmed User
 
Join Date: Mar 2001
Location: Florida
Posts: 6,138
unix command.. quick question

ok, quick question... I'm trying to chmod a directory and all it's subdirectories to 777 but I want to leave all the files at 755. Will this command do it?

find . -type d | chmod 755 directoryname

directoryname being the one i'd like to start in.

??

Sorry, my unix is pretty rusty and any help would be appreciated.
__________________


FreshBucks | Webmaster Vault | GayAW
Trusted Names in Adult.
ICQ 9157.3698
pornJester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-24-2003, 02:47 PM   #2
CGI
Confirmed User
 
Join Date: Apr 2002
Location: Portland, OR
Posts: 139
find /directory/start/path -type d -exec chmod 777 {} \;
__________________
Komply - The 2257 record keeping & content management application (sneak preview)
Manic Cash - Tight Niches, Solid Payouts...
ICQ 346121285
CGI is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-24-2003, 03:06 PM   #3
pornJester
Confirmed User
 
Join Date: Mar 2001
Location: Florida
Posts: 6,138
Quote:
Originally posted by CGI
find /directory/start/path -type d -exec chmod 777 {} \;
awesome, thanks
__________________


FreshBucks | Webmaster Vault | GayAW
Trusted Names in Adult.
ICQ 9157.3698
pornJester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-24-2003, 03:10 PM   #4
CGI
Confirmed User
 
Join Date: Apr 2002
Location: Portland, OR
Posts: 139
No problem

Just so you know, I actually went and tested that on both FreeBSD and Linux (the find command differs slightly between them) and it works just fine on both.
__________________
Komply - The 2257 record keeping & content management application (sneak preview)
Manic Cash - Tight Niches, Solid Payouts...
ICQ 346121285
CGI is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.