Web Hosting Talk







View Full Version : cannot change permission from 755 to 777


ivytony
02-20-2005, 11:31 AM
hi,

I installed mambo flash game component last night and the installation was successful. I wanted to upload more flash games (.swf files) to the remote folder (com_mamboflashgames), but the upload was always denied, :confused: because the permission of that folder is 755? so I wanted to change it to 777 so that I can write. but I have denied for changing this folder permission.

can somebody tell how to change the permission? thanks

empresasdehosting
02-20-2005, 01:24 PM
Are you using an FTP program, couse sometimes, programs like WS FTP or others dont make a correct changes in permissions...if you can access via control panel, try to make it directly in this panel...

ivytony
02-20-2005, 01:54 PM
still being denied even in files manager of Cpanel

jiarby
02-20-2005, 07:07 PM
try to use a php script to chmod the files. It is a user permissions problem.... Mambo installed with "nobody" you are "somebody"

The php will run under the "nobody" user (because it is PHP)

You can probably goggle php & chmod & get in the right direction. WebAdmin may do it.

samy2005
02-21-2005, 06:03 AM
if you have access to ssh then you may be able to do it through that.

Nadabrahma
02-21-2005, 08:29 PM
I have done such things only using my new FTP program, WS-FTP Pro. (Being not very technical :) ) With my old WS-FTP Light it did NOT work!

cj-hosting
02-22-2005, 08:12 AM
Do you have permission to change the file permissions? If not - try jiarby's method of using PHP's chmod function:

www.php.net/chmod

OzyWebHost
02-22-2005, 08:29 AM
Umm cj-hosting I suggest you change your signature pronto.

Advertising pricing in signatures is against the WHT rules :)

SGR_Peter
02-28-2005, 05:38 AM
Hello ivytony,

You could try using FTP, still there is no guarantee you will be able to change the permissions - the host might have imposed restrictions on that.

The advise of cj-hosting may cause you to have problems with your host (they may think you are doing a hack attempt). The best way to fix things is contact support so they change it, or if they do not allow it - at least you will know why it is not working.

jiarby, there are hosts that do not have "nobody" allowed to users (I mean when installing scripts, etc.) - that is basically not the reason especially in the case you installed Mambo by hand (I am not sure what the user of Fantastico is). And, if you do have SUEXEC enabled on the server, all Mambo files will be owned by the user and therefore the reason for you not being able to change permissions should be looked for elsewhere.