Allowing user to input path variable to adjust permissions

longsincelost
New Contributor

I'm trying to allow end-users, without admin privileges, to run a policy/script in self-service, entering a path to a file/folder and modify permissions on those folders, to essentially: u=rwx, g=rwx, o=rx. However, I need them to be able to run this script on files they don't own, and as such, need admin privileges.

Is there a way to allow an end-user, accessing a self-service policy, to drag and drop a folder/file path to a script variable field within self service (or some other way) to run said script at a specific path?

Thanks in advance.

1 REPLY 1

mm2270
Legendary Contributor III

Take a look at this thread, from just a couple of days ago that asks the same type of question.
https://www.jamf.com/jamf-nation/discussions/30810/allow-end-user-to-input-file-folder-path-as-varia...