terminal - file permission

Discussion in 'OS X Yosemite (10.10)' started by capsoft, Jan 9, 2015.

  1. capsoft macrumors newbie

    Joined:
    Jan 9, 2015
    #1
    Hi,
    I am new with Mac and I don`t speak/write english verry well.

    I have problem with one command in terminal.

    I am trying to open a file with "sudo launchctl load -w" command from Mac Library.

    I type a correct password and i recieve something like "Path had bad ownership/permissions". How I can change a permissions for this path ?

    I have a admin account.
    OS X Yosemite (10.10.1)
     
  2. dyt1983, Jan 9, 2015
    Last edited: Jun 1, 2015

    dyt1983 macrumors 65816

    Joined:
    May 6, 2014
    Location:
    USA USA USA
    #2
    edit: To remove personally identifying info not relevant to the conversation.
     
  3. capsoft thread starter macrumors newbie

    Joined:
    Jan 9, 2015
    #3
    I'm trying to run a file from LaunchDaemons folder.

    I use a "sudo chown root" command on it and try to run again with "launchctl". Still the same "bad ownership/permissions"

    I typed in termial

    - sudo chown root /Library/LaunchDaemons/filename
    - type a password
    - sudo launchctl load -w /Library/LaunchDaemons/filename

    "path had bad ownership/permissions"

    Am i doing smth wrong?
     
  4. dyt1983, Jan 9, 2015
    Last edited: Jun 1, 2015

    dyt1983 macrumors 65816

    Joined:
    May 6, 2014
    Location:
    USA USA USA
    #4
    edit: To remove personally identifying info not relevant to the conversation.
     

Share This Page