mesage "cannot ceate hardlink" when uploading var directory

Author Message

Vytautas Germanavičius

Wednesday 20 July 2005 6:45:47 am

I made website with EZ on my computer (debian).
When i uploading images from var/storege of this site using ftp to server i alway get message "cannot ceate hardlink".

What is reason of this?

{set-block scope=root variable=cache_ttl}0{/set-block}

Łukasz Serwatka

Tuesday 02 August 2005 11:42:52 pm

Hi,

There are two types of links in Unix: hard and symbolic.

A hard link is a file that is, for all intents and purposes, the file to which it is linked. The difference between a hardlink and the linked file is one of placement in the filesystem. Editing the hardlink edits the linked file. One limitation of hard links is that linked files cannot reside on different filesystems. This means that if /var and /home are two different mount points in /etc/fstab (or /etc/vfstab), then a file in /var/tmp cannot be hardlinked with a file in /home

These issues are not specific to eZ publish, but rather to the workings of a Unix system and FTP server configuration.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Luc Chase

Wednesday 03 August 2005 12:51:56 am

Vytis,
might you be trying to upload to the wrong var directory??

The Web Application Service Provider

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.