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 Mark Forums Read
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 07-17-2007, 01:14 PM   #1
lucky482
Confirmed User
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 252
System administrators please help

I have a php script installed and when it creates folders, the folders give me a 550 permission denied when I try to edit/delete that folder.
What do I need to do to be able to delete these folders?
Can anyone help?

Thanks
lucky482 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2007, 01:16 PM   #2
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
you need change the ownership of the folders after they're created.
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2007, 01:18 PM   #3
lucky482
Confirmed User
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 252
Quote:
Originally Posted by who View Post
you need change the ownership of the folders after they're created.
How do you do that?
lucky482 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2007, 01:21 PM   #4
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
Quote:
Originally Posted by lucky482 View Post
How do you do that?
http://www.php.net/chown
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2007, 01:28 PM   #5
lucky482
Confirmed User
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 252
Quote:
Originally Posted by who View Post
O.K. so I have to have my programmer add chown code to the script which changes the ownership of the folders after it's created? Thanks I will talk to the programmer for that.

But how can I delete these folders right now? Either through ftp or ssh.
lucky482 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2007, 01:29 PM   #6
Masterchief
Confirmed User
 
Join Date: Jun 2006
Posts: 530
Quote:
Originally Posted by who View Post
Probably wouldn't work since you would have to be nuts to allow sudo execution for nobody/www/etc
Masterchief is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2007, 01:30 PM   #7
Masterchief
Confirmed User
 
Join Date: Jun 2006
Posts: 530
Quote:
Originally Posted by lucky482 View Post
But how can I delete these folders right now? Either through ftp or ssh.
have a script that's running under the web server's context chmod them 777
Masterchief is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2007, 01:32 PM   #8
lucky482
Confirmed User
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 252
Quote:
Originally Posted by Masterchief View Post
have a script that's running under the web server's context chmod them 777
I tried chmod the folders to 777 in ftp manually but it's still not allowing me to delete the folders. Keeps giving me 550 permission denied.
lucky482 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2007, 01:36 PM   #9
Masterchief
Confirmed User
 
Join Date: Jun 2006
Posts: 530
Quote:
Originally Posted by lucky482 View Post
I tried chmod the folders to 777 in ftp manually but it's still not allowing me to delete the folders. Keeps giving me 550 permission denied.
you need to write a script that does it and run it under the web server's context, then you'll be able to delete using ftp. alternatively if you have root just SSH/SFTP in and delete them manually.
Masterchief is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2007, 01:41 PM   #10
lucky482
Confirmed User
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 252
ok thanks. I'll have the programmer write the script
lucky482 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
Thread Tools



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.