Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2007 08:29:18 -1000
From:      Randy Bush <randy@psg.com>
To:        freebsd-security@freebsd.org
Subject:   Re: Permission denied by op
Message-ID:  <17833.9470.515735.802136@roam.psg.com>
References:  <17832.37104.392873.671721@roam.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> i am invoking op from a python proggy which does an op.system() of
>    op chmod 640 /usr/local/etc/tac_plus.conf
> i get "Permission denied by op" 

btw, have tested with same invocation directly from /bin/sh.  same
result.  i.e. it is not the python environment.

> % ls -l /usr/local/etc/op.access
> -r--------  1 root  wheel  149 Jan 13 07:41 /usr/local/etc/op.access
> 
> % cat /usr/local/etc/op.access
> # 2007.01.13
> #
> #DEFAULT users=src
> #
> chown   /usr/sbin/chown $* ; users=src
> chmod   /bin/chmod $* ; users=src
> rsync   /usr/local/bin/rsync $* ; users=src
> #
> 
> % id
> uid=1007(src) gid=1006(srctree) groups=1006(srctree)
> 
> clue bat, please
> 
> randy




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17833.9470.515735.802136>