Debian – Why is this archive failing to create symlinks

debiansymbolic-linktar

When I extract the archive Symfony_Standard_2.2.1.tgz using this command:

$ tar xzf /home/tomas/downloads/Symfony_Standard_2.2.1.tgz

I always get the errors:

tar: doctrine.php: Cannot create symlink to `../vendor/doctrine/orm/bin/doctrine.php': Operation not supported
tar: doctrine: Cannot create symlink to `../vendor/doctrine/orm/bin/doctrine': Operation not supported
tar: Exiting with failure status due to previous errors

Why is it failing to create the symlinks?


$ tar --version
tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 6.0.7 (squeeze)
Release:        6.0.7
Codename:       squeeze

Best Answer

BloodPhilia's comment said it all. I didn't consider the fact that I'm working on a VMware shared folder from a Windows machine with NTFS partitions. Extracting the archive anywhere on the virtual machine works fine.

Related Question