PDA

View Full Version : "sudo -u" permission denied on group folders




designguy79
Mar 21, 2011, 09:21 AM
Hello everyone! What am I doing wrong? Starting to get frustrated here... :(

Running OS X Server 10.6.6

Works as expected when logged in as the user...

osxserver:~ jim$ ls /Groups/testgroup/

I get a "permission denied", however, when running via sudo -u

osxserver:~ jimsboss$ sudo -u jim /bin/ls '/Groups/testgroup'

I thought about adding "root" to "testgroup", but cannot find a way to do this.

Any help would be greatly appreciated!

Sincerely,

Jeremy



designguy79
Mar 21, 2011, 08:41 PM
I don't have a direct answer, but I did get some helpful direction on the Apple OS X Server forum:

http://discussions.apple.com/thread.jspa?threadID=2790367&tstart=0