Chmod Problem

Chmod Problem

Posted by: Equalizer
Posted on: 2006-03-17 05:52:00

I have created a new folder under my Domain Folder. I then transferred some Perl files into it.

Now I need to change the permissions on these files however when I try to change the permission on my index.pl file I get this error message. All the other files are changeable without a hitch.
550 Requested action not taken. File unavailable (e.g., file not found, no access).

I am using CuteFTP for my FTP functions.

Can anyone shed any light on this. I have just recently set up my hosting here.

Re: Chmod Problem

Posted by: Equalizer
Posted on: 2006-03-17 16:02:00

Success, it has to do with Cuteftp and a setting called SIZE. Once it was turned off all worked well.

Cheers

Re: Chmod Problem

Posted by: tgraupmann
Posted on: 2006-03-20 08:13:00

What settings does this apply. I keep trying.

chmod 755 test.pl

with no luck. What does SIZE do?

Re: Chmod Problem

Posted by: anonymous2
Posted on: 2006-03-20 10:11:00

In reply to:

What settings does this apply. I keep trying.

chmod 755 test.pl

with no luck.


rwxr-xr-x

> What does SIZE do?

Give us your email address. Soon you'll get some newsletters all about it. :-)

Actually, tells cuteftp to display file sizes.

Re: Chmod Problem

Posted by: tgraupmann
Posted on: 2006-03-20 10:23:00

Well that doesn't help. How did you get it working. chmod 755 is good enough for the hosts I've used. Even 777 doesn't work. Do I have to reduce permissions to make it work?

Re: Chmod Problem

Posted by: tgraupmann
Posted on: 2006-03-20 11:35:00

Here is some more documentation:
http://wiki.dreamhost.com/index.php/Perl#Perl_on_Dreamhost

Re: Chmod Problem

Posted by: tgraupmann
Posted on: 2006-03-20 12:01:00

Ok it works. You really need to check that all the modules that you are using are installed.

This perl script works:

#!/usr/bin/perl

use CGI;
my $query= new CGI;

print $query->header;

print "hello people in my headn";


Tags: new foldercuteftphitcherror messagechmodshedftpdomainhostingaccessindex