This is just a Unix thing. Since you own the directory the file is in, you can
change the permissions on the file (which are stored in the directory entry, not
in the file). No sensible admin would put a file that must be write only by
root, in a users home directory. That space doesn't belong to root, so they have
no business there.

Nick.


Arnold Troeger wrote:

> 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?)


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

Reply via email to