Page 1 of 1

Can't overwrite

PostPosted: 28. October 2004 20:19
by Repute
Hi there!

When i login with ftp I cant overwrite files and get ther error:

550 robots.txt: Overwrite permission denied
ERROR:>Requested action not taken (e.g., file or directory not found, no access).

I use dreamweaver an cuteftp...

please help me I have the rule Allowoverwrite on to all htdocs/* folders.

I can upload just can't overwrite :S

Thnx for helping me out!

Greets,

Repute

PostPosted: 28. October 2004 21:07
by Kristian Marcroft
Hi,

1. do a ls -l /opt/lampp/htdocs/robots.txt
2. Which User are you using?

Paste the info here...

So long
KriS

PostPosted: 28. October 2004 21:16
by Repute
1. [root@repute root]# ls -l /opt/lampp/htdocs/boardspots/robots.txt
-rw-r--r-- 1 boardspots boardspots 286 Oct 28 20:30 /opt/lampp/htdocs/boardspot s/robots.txt

2. my ftp user is repute it's not root

Thnx for you help!

PostPosted: 28. October 2004 21:24
by Kristian Marcroft
Repute wrote:1. [root@repute root]# ls -l /opt/lampp/htdocs/boardspots/robots.txt
-rw-r--r-- 1 boardspots boardspots 286 Oct 28 20:30 /opt/lampp/htdocs/boardspot s/robots.txt

2. my ftp user is repute it's not root

Thnx for you help!


There we have the Problem...

The File belongs to User: boardspots and Group: boardspots

now the User boardspots has Read and Write access.... Group boardspots only has read access and everybody else also just has read access!

rw-r--r--
rw- = User boardspots has read/write
r-- = Group boardspots hs read only
r-- = everybody else has read only!

So long
KriS

PostPosted: 28. October 2004 21:27
by Repute
Fixed it

<VirtualHost *.*.*.*>
DefaultRoot ~
</VirtualHost>

Had to be instead DefaultRoot ~ of the DefaultRoot /opt/lampp/htdocs