Subject: [Ubuntu10.10] Impossible to create an hardlink without write access

From: Johan Oudinet <[email-masked]>
Date: Thu, 9 Jun 2011 19:47:16 +0200

*** System information ***
GNU coreutils 8.5
Ubuntu 10.10 32bits Ext4

*** Error description ***
$ sudo touch f; ln f g
ln: creating hard link `g' => `f': Operation not permitted

However, the following commands work:
$ sudo touch f2; sudo chmod a+w f2; ln f2 g

The first call to ln should be permitted too.

Regards,
-- 
Johan