"sudo -u" permission denied on group folders

Discussion in 'Mac OS X Server, Xserve, and Networking' started by designguy79, Mar 21, 2011.

  1. macrumors 6502

    Joined:
    Sep 24, 2009
    Location:
    Michigan
    #1
    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...

    Code:
    osxserver:~ jim$ ls /Groups/testgroup/
    I get a "permission denied", however, when running via sudo -u

    Code:
    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
     
  2. thread starter macrumors 6502

    Joined:
    Sep 24, 2009
    Location:
    Michigan
    #2

Share This Page