Re: Some desktop-links missing



On Mon, Jul 27, 1998 at 04:52:48PM -0400, John Ellis wrote:
> Then perhaps a simple check if the system .../share/apps directory
> has write permissions for the user?

that should work I guess ... it won't deal with the cases where the user
has some weird permissions however (say the sysadmin set up write permissions
to certain directories for certain users) ....

I know I'm trying to just make up weird scenarios :)

maybe doing a check on a per file basis ...

check for writability of the .order file, then allow changing order,
check for writability of the directory before allowing adding new item,
check for writability of the file before allowing changing it that should
deal with any kind of weird permissions setup

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]