What are the permissions on the /home/user?   I'm reasonable certain that all
unixes behave as below.  At least SunOS, Solaris, Linux, IRIX, and AIX all
do.


Michael Osten wrote:

> On Fri, 26 Oct 2001 11:19:25 -0700
> "Julia A. Case" <[EMAIL PROTECTED]> wrote:
>
> > 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
>
> I've confirmed this is the case on both redhat and mandrake (anyone want
> to try on Solaris to make sure this isn't just a unix thing?)
>
> --
> Michael Osten
> Reefedge Inc.
>
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> mQGhBDuxPdYRBADzFXgIcmDpZXOxYeplGQQdv1HONlLFxis5YiR2R7dQ6KAmZG/X
> 5xcXPcbrstXPuUJz4DPVaWTF59e1oXFuBFX/BSeyat45diu/cUZVLHjsEDqdodiG
> BPfsTNtaW3ZP245ZZVr3m4jedssXuboKNOlLX166N0aWqXGo3ncGXnR7dwCg6978
> ZnAbBmOZg8zD+3Z9alWwa0MD/A2IlkVNg0K19jJuRvGOd3neXjESqQ/84d6NvGEG
> yKaTUMzESZEuF4hPynpSFkUPLSE+1tZ4hqkIzP2IYrD74ObZnkKVtcjNNB4GAdk/
> kYsuEo6TNQC7xuTky3Slc/sXQL5YFFYeIO3Wdt0+L/E1vU3YVfPDhcnMe6lalGQH
> 5YwfA/dfU8o2x7JsS0eF3YiQhXQ2kHYfCTkmyD5QZZosHdmUmPGaMyTXvancHbNl
> cLDe9ZQubYSQQTBTmDBF8MfRmxInGTGn6jnVOc8dYVfkG7mVeQqI0hwYpAVj4TLp
> IMLddL0N1HBDI1R5h9xtXMGsj8rh85ZHAdhjWmXfRky4XQuqtCNNaWNoYWVsIE9z
> dGVuIDxtb3N0ZW5AcmVlZmVkZ2UuY29tPohXBBMRAgAXBQI7sT3WBQsHCgMEAxUD
> AgMWAgECF4AACgkQK9WwSrQMCYkpEgCg6g1gvlGn0E2FcQrPpP0+IP5FGzMAoNKB
> n2q/sJf35ugdDSef/uD+vYNVuQENBDuxPdgQBADG+SfLco3vL583je7Bz+n82X6w
> cgeS6tm4EqGb6NXcEa+FvniBefBueRssBzaEqhluUV9rzn5W+N7nf7VGoLI2oGhg
> ZFhVdNqR8SNofZue8lEqWMkIMdFlXRqojlzbejOXa54WVXEfSZybsuitKsfoDREO
> QDKa7MTPtnwEedaJIwADBgQAgcZ5nFJoZhGHfnqsz4LHjldFnr5PaeEiWYrYjBcz
> drLLaLf2EI5oAnMwDIN3apXb2MRMp1gD93kWcbY6DsVQMgGIXvNYjHR8mwuH/6l5
> VNGVQOdiouXf1LqXjFlO+Ld0PqvDyILZPktDz8vd+rnhzv3u8GZduMytuJvPN9hQ
> L+WIRgQYEQIABgUCO7E92AAKCRAr1bBKtAwJiWnbAJ4wHX/ejEwC3VLJjFZyg+SN
> ORdi/QCfbY1VFUL0hTZtCdpXQ/W7rMxRq/s=
> =mqPG
> -----END PGP PUBLIC KEY BLOCK-----
>
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

--
Arnold Troeger                          Unocal Thailand
Phone:  011-66-2-545-5456               5th Floor, Tower 3, SCB Park Plaza
FAX:    011-66-2-545-5374               19 Ratchadapisek Road, Chatuchak
Email:  [EMAIL PROTECTED]   Bangkok 10900, Thailand
------------------------------------------------------------------------
"Microsoft Windows:  for when your machine is just too fast"
"Microsoft: Writing viruses has never been easier!"
"Microsoft: The company that made email dangerous"




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to