icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old August 1st, 2004, 10:35 AM   #1 (permalink)
Registered User
Comfy Contributor
 
carnuke's Avatar
 
Joined in Apr 2004
Lives in UK
114 posts
Gave thanks: 5
Thanked 0 times
Question Denied permission to folders?

I'm sure this is very basic, but .... I have some directories that were created during an installation routine on a php script. They have a 700 (user read write execute) setting. Thing is, I cant open them OR change permissions. Even in cpanel I have a message syaing 'seems like you don't have sufficient permissions for this operation' I should add, these directories are in another directory that has full world permissions.

What can I do please?
__________________
Thanks SURPASS for all your help and support...
Richard [A xoops user and documentation writer for xoops.org. ]
Website: HouseofStrauss.co.uk Server: Nifty (xx.xxx.238.158)
carnuke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 1st, 2004, 12:12 PM   #2 (permalink)
The Coolness
Excelling Contributor
 
bassdaddy777's Avatar
 
Joined in May 2003
Lives in Sandpoint, Idaho
Hosted on Dime5
862 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by carnuke
I'm sure this is very basic, but .... I have some directories that were created during an installation routine on a php script. They have a 700 (user read write execute) setting. Thing is, I cant open them OR change permissions. Even in cpanel I have a message syaing 'seems like you don't have sufficient permissions for this operation' I should add, these directories are in another directory that has full world permissions.

What can I do please?
Are you sure you are getting the correct files? It could be refering to a same named but different sub-directory. PhP is full of that.

It also sounds like the error is being generated by the program itself. It might be that your login info doesn't have the correct "authority" to enter the area you are trying to enter.

Do you have a link or some code to look at?
__________________
Bronze Reseller
Pass36
bassdaddy777 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 1st, 2004, 12:59 PM   #3 (permalink)
Registered User
Comfy Contributor
 
carnuke's Avatar
 
Joined in Apr 2004
Lives in UK
114 posts
Gave thanks: 5
Thanked 0 times
Thanks Bashdaddy for your comment... Umm, I simply want to open folders in my webspace, there is no code to show, cos I cant get into the folders to see what's there!

They have the permissions of 700 and I cant open them, so I changed them to 777 and they return back to 700. Yes, Im the owner of the webspace, but these folders were created as part of an install rountine for an application.

The app works fine.
__________________
Thanks SURPASS for all your help and support...
Richard [A xoops user and documentation writer for xoops.org. ]
Website: HouseofStrauss.co.uk Server: Nifty (xx.xxx.238.158)
carnuke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 1st, 2004, 1:06 PM   #4 (permalink)
SurPerson
On a golden path...
 
TJ09's Avatar
 
Joined in Jul 2004
Lives in front of my laptop
Hosted on Sync
437 posts
Gave thanks: 0
Thanked 1 Time in 1 Post
Try creating a PHP script to chmod them:
<?php chmod(fileorfolder, 0777) ?>
That would work if they were created via a PHP installer...
__________________
Me: TeeJay
Server: Sync (Statistics)
Site: technoized.com (Statistics)

chown -R us ./base
TJ09 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 1st, 2004, 6:34 PM   #5 (permalink)
Registered User
On a golden path...
 
scottmcarthur's Avatar
 
Joined in Jun 2004
Lives in UK
Hosted on Pass7
394 posts
Gave thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by TJ09
Try creating a PHP script to chmod them:
<?php chmod(fileorfolder, 0777) ?>
That would work if they were created via a PHP installer...
chmod is disabled in PHP.
scottmcarthur is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 1st, 2004, 6:58 PM   #6 (permalink)
The Coolness
Excelling Contributor
 
bassdaddy777's Avatar
 
Joined in May 2003
Lives in Sandpoint, Idaho
Hosted on Dime5
862 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by carnuke
Thanks Bashdaddy for your comment... Umm, I simply want to open folders in my webspace, there is no code to show, cos I cant get into the folders to see what's there!

They have the permissions of 700 and I cant open them, so I changed them to 777 and they return back to 700. Yes, Im the owner of the webspace, but these folders were created as part of an install rountine for an application.

The app works fine.
Ahh, yes. Well then, the problem is obvious - you have mice in the server. What with nearly everybody using mice these days (and I hear tell that a few foolish individuals are even connecting them to their computers!) it was bound to happen. You need a cat and in this situation only the very latest will due. I suggest a Cat5. Be careful that you don't get the Cat5E (for Extra hungry) as they may not be satisfied with mice and start looking at you! :miam2:
__________________
Bronze Reseller
Pass36
bassdaddy777 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 2nd, 2004, 2:50 AM   #7 (permalink)
ubuntu Fan
Super #1
 
Travis's Avatar
 
Joined in Nov 2003
Lives in Calgary Alberta Canada
2,724 posts
Gave thanks: 0
Thanked 0 times
The script installs in the root and did not chmod it back you should email surpass's support
__________________
"A lot of people are waiting for Martin Luther King or Mahatma Gandhi to come back -- but they are gone. We are it. It is up to us. It is up to you."
— Marian Wright Edelman
Travis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 10th, 2004, 12:03 PM   #8 (permalink)
Registered User
Comfy Contributor
 
carnuke's Avatar
 
Joined in Apr 2004
Lives in UK
114 posts
Gave thanks: 5
Thanked 0 times
Quote:
Originally Posted by TJ09
Try creating a PHP script to chmod them:
<?php chmod(fileorfolder, 0777) ?>
That would work if they were created via a PHP installer...
Thank-you TJ09

That workd perfectly ... My dirs were created by a php installer and your script rev
erted them back to world perms. Sorry for the delay in reply. I have been real busy
:brief:

Thanks, Richard
__________________
Thanks SURPASS for all your help and support...
Richard [A xoops user and documentation writer for xoops.org. ]
Website: HouseofStrauss.co.uk Server: Nifty (xx.xxx.238.158)
carnuke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 10th, 2004, 2:04 PM   #9 (permalink)
SurPerson
On a golden path...
 
TJ09's Avatar
 
Joined in Jul 2004
Lives in front of my laptop
Hosted on Sync
437 posts
Gave thanks: 0
Thanked 1 Time in 1 Post
Glad it worked, and for scottmcarthur, CHMod is definately enabled in PHP, I've used it before many-a-time.
__________________
Me: TeeJay
Server: Sync (Statistics)
Site: technoized.com (Statistics)

chown -R us ./base
TJ09 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On