[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wrong (?) error message from mv(1)
From: |
Scott Doty |
Subject: |
Wrong (?) error message from mv(1) |
Date: |
Thu, 3 Apr 2003 11:49:22 -0800 |
Hello,
I just encountered a strange, and probably wrong, error message from mv(1).
Hopefully this is the place to report it.
The error is this:
_[/home/scott/bin]_(address@hidden)_
$ mv /tmp/radetail.pl .
mv: cannot chdir from .' to /tmp/radetail.pl': Not a directory
But actually, it is a permissions problem unlinking /tmp/radetail.pl.
I've attached an strace. The following are details of the system,
directories, and file:
_[/home/scott/bin]_(address@hidden)_
$ whoami
scott
_[/home/scott/bin]_(address@hidden)_
$ ll /tmp/radetail.pl
-rw-r--r-- 1 root root 7148 Apr 3 11:20 /tmp/radetail.pl
_[/home/scott/bin]_(address@hidden)_
$ ll -d /tmp
drwxrwxrwt 8 root root 8192 Apr 3 11:39 /tmp
_[/home/scott/bin]_(address@hidden)_
$ ll -d .
drwxr-xr-x 2 scott scott 4096 Apr 3 11:41 .
_[/home/scott/bin]_(address@hidden)_
$ ll radetail.pl
ls: radetail.pl: No such file or directory
_[/home/scott/bin]_(address@hidden)_
$ mv /tmp/radetail.pl .
mv: cannot chdir from .' to /tmp/radetail.pl': Not a directory
_[/home/scott/bin]_(address@hidden)_
$ ll radetail.pl
-rw-r--r-- 1 scott scott 7148 Apr 3 11:20 radetail.pl
_[/home/scott/bin]_(address@hidden)_
$ uname -a
Linux ponzo.sonic.net 2.4.19 #1 SMP Wed Aug 14 17:59:49 PDT 2002 i686 i686
i386 GNU/Linux
_[/home/scott/bin]_(address@hidden)_
$ mount
/dev/sdb1 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
/dev/sdb2 on /home type ext2 (rw)
Please let me know if you need more information, or if I should do a bug
report with Redhat. Thanks!
-Scott
mv.strace.txt
Description: Text document
- Wrong (?) error message from mv(1),
Scott Doty <=