mutt in filepro and file permission

Fairlight fairlite at fairlite.com
Thu Dec 31 18:15:57 PST 2009


>From inside the gravity well of a singularity, John Esak shouted:
>     then: system ">/tmp/myfile;  chmod 755 /tmp/myfile"
> 
> You could do a chown as well here, but why bother? If all the users can read
> the file that is usually enough, but you can alter it any way you want
> because you just created it."  

You can't do a meaningful chown on anything except SCO, John.  It wouldn't
work on Linux, Solaris, etc.  Users other than root may not chown files
away from themselves, as it would be an easy way to bypass filesystem
quotas.  You'd be able to create a couple gig file, make it world-readable,
and chown it to someone else, freeing up space under your own quota.  

There are other reasons why normal users cannot chown away from themselves,
but that's a primary one.

The only *nix I know of that still allows this kind of behaviour is SCO.

Fortunately, the OP is actually on SCO.  But if ever one migrated...*poof*.

mark->
-- 
Audio panton, cogito singularis,


More information about the Filepro-list mailing list