LiveWire Peer Support Network

Printable Version of Topic "PERL rename file "access denied""

- LiveWire Teen Forums & College Forums (http://www.golivewire.com)
-- (http://www.golivewire.com/forums/support-technical.html)
--- Programming & Application Development (http://www.golivewire.com/forums/forum-211-s-0.html)
---- PERL rename file "access denied" (http://www.golivewire.com/forums/peer-snyyeb-support-a.html)


-- Posted by davjs at 8:45 pm on Dec. 14, 2007

This is for LiveWire. I'm having trouble getting one of our perl scripts to use the built-in PERL "rename" function that renames a file.

It keeps saying access denied, but I have set the owner of the file and both the move from and move to directories to be livewire's userid.

The file permissions are 755.

Am I missing something?


-- Posted by iwashere85 at 8:46 pm on Dec. 14, 2007

Make sure the permissions are correct. It should not say access denied unless that is wrong. Perl is aggravating because the smallest thing could cause an error.


-- Posted by davjs at 8:56 pm on Dec. 14, 2007

Quote: from iwashere85 at 8:46 pm on Dec. 14, 2007


Make sure the permissions are correct. It should not say access denied unless that is wrong. Perl is aggravating because the smallest thing could cause an error.
Again, I've gone over the permissions and they are all correct.


-- Posted by iwashere85 at 8:57 pm on Dec. 14, 2007

I must be missing something as well.

Sorry man.


-- Posted by davjs at 12:18 am on Dec. 15, 2007

I fixed the problem, I had written down the wrong userid for the account on the new server.


-- Posted by OnOnE353 at 7:07 am on Dec. 15, 2007

Quote: from davjs at 8:18 am on Dec. 15, 2007


I fixed the problem, I had written down the wrong userid for the account on the new server.

I was going to say: try 777. But, fair enough. I've done that 100's of times with MySQL.


-- Posted by iwashere85 at 11:46 am on Dec. 15, 2007

Quote: from davjs at 3:18 am on Dec. 15, 2007


I fixed the problem, I had written down the wrong userid for the account on the new server.

Ah, I see. Good Catch.  


www.golivewire.com