Re: Permission denied by op
- From: Randy Bush <randy@xxxxxxx>
- Date: Fri, 19 Jan 2007 15:12:22 -0800
Let me recap, and you correct me when I'm wrong:i am invoking op from a python proggy which does an op.system() ofbtw, have tested with same invocation directly from /bin/sh. same
op chmod 640 /usr/local/etc/tac_plus.conf
i get "Permission denied by op"
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
* you're running as UID 1007.
yes
* the file is owned by root.
not exactly, the file i am trying to modify is owned by tacacs
* you're trying to chmod it and it's failing.
it is failing
rsync of the new copy owned by me over the copy owned by tacacs
chown of the target file to tacacs
chmod of the target file to 640
Is that the situation so far?
the situation now is that i ditched op and am using sudo
randy
_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"
- References:
- Permission denied by op
- From: Randy Bush
- Re: Permission denied by op
- From: Randy Bush
- Re: Permission denied by op
- From: Bigby Findrake
- Permission denied by op
- Prev by Date: Re: HEADS UP: Re: FreeBSD Security Advisory FreeBSD-SA-07:01.jail
- Next by Date: Re: Permission denied by op
- Previous by thread: Re: Permission denied by op
- Next by thread: Re: Permission denied by op
- Index(es):