[Pkg-mc-devel] Bug#466370: strange... now I can't confirm anymore
Patrick Winnertz
winnie at debian.org
Wed Feb 20 12:54:03 UTC 2008
Hello,
I tried this directly after your bugreport and I was able to confirm
this... but now (build from the svn) it looks like this:
energy:/tmp# ls -l
insgesamt 100
drwx------ 4 root root 1024 20. Feb 08:10 1659576503
-rw-r--r-- 1 winnie winnie 59271 20. Feb 13:43 file.c
drwx------ 2 winnie winnie 1024 20. Feb 08:11 gpg-TZ7ZeG
drwx------ 2 winnie winnie 1024 20. Feb 13:47 kde-winnie
drwx------ 3 winnie winnie 1024 20. Feb 13:46 ksocket-winnie
drwx------ 2 root root 12288 9. Aug 2007 lost+found
drwx------ 2 root root 1024 20. Feb 12:54 mc-root
drwx------ 2 winnie winnie 1024 20. Feb 08:11 ssh-kUplEp4125
-rw-r--r-- 1 winnie winnie 21582 18. Feb 17:00 test.txt <----
-rw------- 1 winnie winnie 0 20. Feb 12:50 tmp.EoDgr16476
-rw------- 1 winnie winnie 0 20. Feb 13:43 tmp.KLBXx26546
-rw------- 1 winnie winnie 0 20. Feb 12:23 tmp.oVxjop8419
energy:/tmp# rm test.txt
energy:/tmp# energy:/tmp# ls -l
insgesamt 100
drwx------ 4 root root 1024 20. Feb 08:10 1659576503
-rw-r--r-- 1 winnie winnie 59271 20. Feb 13:43 file.c
drwx------ 2 winnie winnie 1024 20. Feb 08:11 gpg-TZ7ZeG
drwx------ 2 winnie winnie 1024 20. Feb 13:47 kde-winnie
drwx------ 3 winnie winnie 1024 20. Feb 13:46 ksocket-winnie
drwx------ 2 root root 12288 9. Aug 2007 lost+found
drwx------ 2 root root 1024 20. Feb 12:54 mc-root
drwx------ 2 winnie winnie 1024 20. Feb 08:11 ssh-kUplEp4125
-rw-r--r-- 1 root root 21582 18. Feb 17:00 test.txt <----
-rw------- 1 winnie winnie 0 20. Feb 12:50 tmp.EoDgr16476
-rw------- 1 winnie winnie 0 20. Feb 13:43 tmp.KLBXx26546
-rw------- 1 winnie winnie 0 20. Feb 12:23 tmp.oVxjop8419
Please note that I was running mc as root and I was copying something from
my own homedir (test.txt) into /tmp. mc was running in the background
(switched with STRG-o to the console).
The first time I leave the preserve attributes marked.
The second time I unmarked it.
So I can't reproduce this. (Please note that a chown wouldn't work if the
file previously belong to root, since your user won't be allowed to chown
it to root:root. So this feature basically only works if you are root (or
another privilieged user) which is allowed to chown the file after copy
(this is what mc is doing here if you check preserve attributes).
Can you please try to reproduce this, and/or stating that you was working
as a unprivileged user so that I'll can close/work further on this bug?
Thanks in advance.
Greetings
Winnie
--
.''`. Patrick Winnertz <winnie at debian.org>
: :' : GNU/Linux Debian Developer
`. `'` http://www.der-winnie.de http://people.skolelinux.org/~winnie
`- Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-mc-devel/attachments/20080220/45c5fcb4/attachment.pgp
More information about the Pkg-mc-devel
mailing list