From: Maarten LITMAATH <Maarten.Litmaath@cern.ch>
Subject: OSF1V5.1 has a bug in advfs or mv command
Date: Fri, 21 Mar 2003 15:06:22 +0100 [thread overview]
Message-ID: <3E7B1C5E.5090400@cern.ch> (raw)
Dear Tru64 Managers,
please have a look at the little example below; the permissions on file
"foo.txt" should _not_ prevent the "mv" from succeeding.
This works fine on other UNIX file system types.
The bug can cause scripts etc. to fail where they used to work fine
(that is more or less how I discovered it).
Regards,
Maarten.Litmaath@cern.ch
---------------------------------------------------------------------------
> cd /tmp
> df .
Filesystem 512-blocks Used Available Capacity Mounted on
temp_domain#clutmp 14000000 86496 13913504 1% /clutmp
> mount | grep /clutmp
temp_domain#clutmp on /clutmp type advfs (rw)
>
> date > foo.txt
> date > bar.txt
> chmod 444 foo.txt
> mv foo.txt bar.txt
mv: cannot unlink foo.txt: Permission denied
> rm foo.txt bar.txt
rm: override protection 444 for foo.txt? y
>
---------------------------------------------------------------------------
next reply other threads:[~2003-03-21 14:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-21 14:06 Maarten LITMAATH [this message]
2003-03-21 20:04 ` UPDATE: OSF1V5.1 has a bug in advfs or mv command Maarten LITMAATH
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox