WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Error after using CHMOD utility

Version: 3.14
printPrint


Error after using CHMOD utility
Jenny
Forum Regular
Avatar

Usergroup: Customer
Joined: May 11, 2003
Total Topics: 39
Total Posts: 117
Posted 01/20/05 - 08:04 AM:
quote post
#1
I upgraded from 3.13 to 3.14 and used the CHMOD utility thing to chmod my attachment folders because I can't change those folders with WS FTP.
The message I get from the program is this:

/home/elitefan/public_html/attachments/Female_Celebrities to
/home/elitefan/public_html/attachments/Male_Celebrities to
/home/elitefan/public_html/attachments/Movies to
/home/elitefan/public_html/attachments/Multiple_Celebrities to
/home/elitefan/public_html/attachments/Music_Bands to
/home/elitefan/public_html/attachments/Others to
/home/elitefan/public_html/attachments/TV_Shows to
/home/elitefan/public_html/attachments/Top_Level to
/home/elitefan/public_html/attachments/Useful_Links to
/home/elitefan/public_html/attachments/index.htm to 666
Warning: chmod(): Operation not permitted in /home/elitefan/public_html/admin/chmod.php on line 19

In fact, /index.htm is now at 644, and the folders don't have any permissions at all. I cannot even open them anymore. Obviously all images in the directory are now broken.
Any idea how to fix that?

Edited by Jenny on 01/20/05 - 08:27 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6027
Posted 01/20/05 - 05:00 PM:
quote post
#2
The folder permissions being set to blank probably means you downloaded before the 1/16/05 revision noted at http://scripts.webmastersite.net/wsnlinks/members... (it'd been relying on a 755/777 value specificaiton that only exists in wsn forum, now it's changed to assume 777, though this will cause problems for people who require 755)

As for index.htm, it's owned by your FTP user so you have to chmod it through FTP (that's what the "operation not permitted" error means).

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Jenny
Forum Regular
Avatar

Usergroup: Customer
Joined: May 11, 2003
Total Topics: 39
Total Posts: 117
Posted 01/21/05 - 02:13 AM:
quote post
#3
I downloaded it yesterday, Jan 20th.
Is there an easy way to fix this?
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6027
Posted 01/21/05 - 08:23 PM:
quote post
#4
Figured it out. Use the attached file.

Attached Files:
chmod.php
(1 KB, 21 downloads)

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Jenny
Forum Regular
Avatar

Usergroup: Customer
Joined: May 11, 2003
Total Topics: 39
Total Posts: 117
Posted 01/22/05 - 08:03 AM:
quote post
#5
Thank God, it works like a charm! Thanks for the quick fix!!!
Do you think I can use this for the gallery as well?
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6027
Posted 01/23/05 - 04:16 PM:
quote post
#6
Yes, same file will work there. I'll release WSN Gallery 2.14 including it in the next day or two.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.