We have our CVS repository on a F840 running 6.1R1.  I've been chasing (what I thought was) a CVS Commit problem re renaming files but now I think this may be a filer issue because I've been able to reproduce the problem outside of CVS.  We're using FreeBSD.

Basically I have group write permission to a directory where I want to rename a file.  All attempts fail with a "Permission denied" error. Then I restored the directory from a tgz file and after that, everything started working fine!  The owners, permissions, and modified dates were the same as before so I don't understand why restoring this directory would change anything.

Previously we had our CVS repository on a F520 running 5.3.6 and we never had any problems.

Please, can anyone explain this?

Thanks much, Frank

Here's the output:

gilmurra:/sweng/CVS_BACKUP/src> ls -la
total 452
drwxrwxr-x   2 1237      staff   8192 Jul 11 10:41 .
drwxrwxr-x  22 1237      staff   8192 Jun 11 19:42 ..
-r--r--r--   1 141       staff  52845 Jun 11 19:12 ata-all.c,v
-r--r--r--   1 1237      staff  14819 Mar 26 19:26 ata-all.h,v
-r--r--r--   1 141       staff  14819 Jul 10 16:35 ata-all.h,v.old
-r--r--r--   1 gilmurra  staff  14819 Mar 26 19:26 ata-all.h,v~ORIG
-r--r--r--   1 1237      staff  28550 Mar 26 19:26 ata-disk.c,v
-r--r--r--   1 1237      staff   4179 Mar 26 19:26 ata-disk.h,v
-r--r--r--   1 1237      staff  35634 Mar 26 19:26 ata-dma.c,v
-r--r--r--   1 1237      staff  16649 Mar 26 19:26 ata-raid.c,v
-r--r--r--   1 1237      staff   5170 Mar 26 19:26 ata-raid.h,v
-rw-rw-r--   1 gilmurra  staff  67396 Jul 11 10:37 ata.tgz
-r--r--r--   1 1237      staff  21862 Mar 26 19:26 atapi-all.c,v
-r--r--r--   1 1237      staff   9893 Mar 26 19:26 atapi-all.h,v
-r--r--r--   1 1237      staff  48595 Mar 26 19:26 atapi-cd.c,v
-r--r--r--   1 1237      staff  12804 Mar 26 19:26 atapi-cd.h,v
-r--r--r--   1 1237      staff  12470 Mar 26 19:26 atapi-fd.c,v
-r--r--r--   1 1237      staff   3748 Mar 26 19:26 atapi-fd.h,v
-r--r--r--   1 1237      staff  18632 Mar 26 19:26 atapi-tape.c,v
-r--r--r--   1 1237      staff   7100 Mar 26 19:26 atapi-tape.h,v
-r--r--r--   1 gilmurra  staff  14819 Jul 10 16:35 x
gilmurra:/sweng/CVS_BACKUP/src> mv x ata-all.c,v
override r--r--r--  141/staff for ata-all.c,v? (y/n [n]) y
mv: rename x to ata-all.c,v: Permission denied
gilmurra:/net/filebot/sweng/CVS_BACKUP/src>

--- After 'tar xzf ata.tgz' as root ---

gilmurra:/sweng/CVS_BACKUP/src> ll
total 436
-r--r--r--  1 141       staff  52845 Jun 11 19:12 ata-all.c,v
-r--r--r--  1 1237      staff  14819 Mar 26 19:26 ata-all.h,v
-r--r--r--  1 141       staff  14819 Jul 10 16:35 ata-all.h,v.old
-r--r--r--  1 gilmurra  staff  14819 Mar 26 19:26 ata-all.h,v~ORIG
-r--r--r--  1 1237      staff  28550 Mar 26 19:26 ata-disk.c,v
-r--r--r--  1 1237      staff   4179 Mar 26 19:26 ata-disk.h,v
-r--r--r--  1 1237      staff  35634 Mar 26 19:26 ata-dma.c,v
-r--r--r--  1 1237      staff  16649 Mar 26 19:26 ata-raid.c,v
-r--r--r--  1 1237      staff   5170 Mar 26 19:26 ata-raid.h,v
-rw-rw-r--  1 gilmurra  staff  67396 Jul 11 10:37 ata.tgz
-r--r--r--  1 1237      staff  21862 Mar 26 19:26 atapi-all.c,v
-r--r--r--  1 1237      staff   9893 Mar 26 19:26 atapi-all.h,v
-r--r--r--  1 1237      staff  48595 Mar 26 19:26 atapi-cd.c,v
-r--r--r--  1 1237      staff  12804 Mar 26 19:26 atapi-cd.h,v
-r--r--r--  1 1237      staff  12470 Mar 26 19:26 atapi-fd.c,v
-r--r--r--  1 1237      staff   3748 Mar 26 19:26 atapi-fd.h,v
-r--r--r--  1 1237      staff  18632 Mar 26 19:26 atapi-tape.c,v
-r--r--r--  1 1237      staff   7100 Mar 26 19:26 atapi-tape.h,v
-r--r--r--  1 141       staff  14819 Jul 10 16:35 x
gilmurra:/sweng/CVS_BACKUP/src> mv x ata-all.h,v
override r--r--r--  1237/staff for ata-all.h,v? (y/n [n]) y
gilmurra:/sweng/CVS_BACKUP/src>