I've not tried this on non-Mandrake boxes, but I think it may be a
problem with linux in general not just Mandrake.
As root
touch /home/user/test1;chmod 600 /home/user/test1
touch /home/user/test2;chmod 600 /home/user/test2
As user
mv test1 test3
mv test2 test3
Both succeed with no trouble (the 2nd one will ask if you want to
override the mode 600). mv basically does a cp and a rm doesn't it (I
didn't look at the source, just guessing) and you shouldn't be able to
rm a file you don't have permission to write on.
You can mv the files anywhere in your home dir you have write
permissions, but you can't seem to move to say /tmp It would seem that
if an admin put a specific file in your home dir that they didn't want
you to modify, you could either move it or even replace it with this
setup. I'll admit this would be a little odd, but still a bug.
Since I'm not sure who to report this too, someone please let me know.
Julia
--
[ Julia Anne Case ] [ Ships are safe inside the harbor, ]
[Programmer at large] [ but is that what ships are really for. ]
[ Admining Linux ] [ To thine own self be true. ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
PGP signature