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" % 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
> 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
Garance A Drosihn wrote:> Try a: ls -lo /usr/local/etc/op.access > and see if some of the chflags-style options have been turned on.hi glarance! long time. # ls -lo /usr/local/etc/op.access -r-------- 1 root wheel - 112 Jan 13 19:48 /usr/local/etc/op.access randy
At 9:57 PM -1000 1/12/07, Randy Bush wrote:>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" > >% ls -l /usr/local/etc/op.access >-r-------- 1 root wheel 149 Jan 13 07:41 /usr/local/etc/op.accessTry a: ls -lo /usr/local/etc/op.access and see if some of the chflags-style options have been turned on. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu