Can't overwrite

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Can't overwrite

Postby Repute » 28. October 2004 20:19

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
"Keep your face in the sunshine so the shadows fall behind you!"

Repute | http://www.repute.nl
User avatar
Repute
 
Posts: 52
Joined: 12. January 2003 14:33

Postby Kristian Marcroft » 28. October 2004 21:07

Hi,

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

Paste the info here...

So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby Repute » 28. October 2004 21:16

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!
"Keep your face in the sunshine so the shadows fall behind you!"

Repute | http://www.repute.nl
User avatar
Repute
 
Posts: 52
Joined: 12. January 2003 14:33

Postby Kristian Marcroft » 28. October 2004 21:24

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
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby Repute » 28. October 2004 21:27

Fixed it

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

Had to be instead DefaultRoot ~ of the DefaultRoot /opt/lampp/htdocs
"Keep your face in the sunshine so the shadows fall behind you!"

Repute | http://www.repute.nl
User avatar
Repute
 
Posts: 52
Joined: 12. January 2003 14:33


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 20 guests