• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Lightroom correct permissions script

New Here ,
Mar 16, 2019 Mar 16, 2019

Copy link to clipboard

Copied

I installed the x-Rite color checker plug-in to Lightroom Classic CC (v8.2, OS 10.13.6). When I launched LR I got a permissions error message. I downloaded and ran the shell script "LightroomCorrectPermission" but could not enter my password. Apparently I can't run LR without correcting the problem. Apple has a method for resetting permissions globally but I'm reluctant to use that unless absolutely necessary. What now?

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 16, 2019 Mar 16, 2019

Copy link to clipboard

Copied

What is the exact wording of the error message?

Where did you get the permissions script?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 17, 2019 Mar 17, 2019

Copy link to clipboard

Copied

Thanks for responding. There is no error message. The script was downloaded from the Adobe site:

Solutions to Adobe Lightroom Lightroom user permission issues on launch

The script is copied to a terminal window and run. It stops at the line

Password:

I can't enter anything. There is a small key icon after the colon but clicking it does nothing.

One of the recovery steps in the Adobe article is to change the permissions manually. It lists the necessary folders. I started doing that but there are way too many and in what I did I did not find any that were not set to Read/Write. In the Info Window for a folder there is a way to apply permission changes to the enclosed items but I'm kind of reluctant to do that - possible unintended consequences.

Any guidance will be appreciated. Right now I can't use LR and need to be able to.

Dan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 17, 2019 Mar 17, 2019

Copy link to clipboard

Copied

That script requires that you have administrative rights on your computer. Standard, but often not followed, information security practice, is to not provide normal user accounts with that right, you might have to run that script while logged on to your computer as the local administrator.

As you run this script in a terminal window, you will probably not be presented with nice cLear pop up window asking for admin access (ID and pass). Instead you received a request for a password, probably assuming an admin account was used. DI’d you try your computer account password? Theoretically you can run the terminal window as an administrator and probably go right pass that prompt.

Reading the instructions for the script, at some point you will be asked for your Adobe ID and password as well, but sounds like you did not get that far.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 17, 2019 Mar 17, 2019

Copy link to clipboard

Copied

I am the only user and have admin privileges. All the files that I looked at have me listed with Read/Write privilege. Below is the content of the Terminal window that I see when I run the script. The key icon after the colon in the Terminal window does not show here.

Last login: Sun Mar 17 13:24:12 on console

Daniels-MBP:~ dan$ /Users/dan/Downloads/LightroomCorrectPermission.sh

=== Sun Mar 17 13:26:53 PDT 2019

----------------------------------

Process folder: /Users/dan/Documents/Adobe/

Restore owner: sudo chown -R dan /Users/dan/Documents/Adobe/

Password:

Here is the script:

#!/bin/bash

# reclaim Inactive memory due to memory leaks by Jenkins

echo === `date`

id=`id -u -nr`

home=/Users/$id

declare -a arr=( "Documents/Adobe/" "Library/Preferences/Adobe/" "Library/Caches/Adobe/" "Library/Application Support/Adobe/" )

for i in "${arr[@]}"

do

   echo "----------------------------------"

   echo "Process folder: $home/$i"

   echo "Restore owner: sudo chown -R $id $home/$i"

   sudo chown -R $id "$home/$i"

   echo "Restore read/write permission: chmod -RL +rwX $home/$i"

   chmod -RL +rwX "$home/$i"

   echo "Remove ACL: chmod -RN $home/$i"

   chmod -RN "$home/$i"

done

Finally, here is a BashScriptDebug file that was apparently generated when I installed the plug-in. I don't know whether it has any connection to the script issue - but, hey, the more information the better.

Sat Mar 16 09:39:00 PDT 2019 Executing preflight started...

Sat Mar 16 09:39:00 PDT 2019 /Applications/ColorChecker Passport.app not found.

Sat Mar 16 09:39:00 PDT 2019 Remove ColorChecker Passport plugin if it already exists...

Sat Mar 16 09:39:00 PDT 2019 /Library/Application Support/Adobe/Lightroom/Modules/XRiteColorCheckerPassport.lrplugin not found.

Sat Mar 16 09:39:00 PDT 2019 Executing preflight done.

Sat Mar 16 09:39:00 PDT 2019 Executing CCP_LRplugin_CreateModules started...

Sat Mar 16 09:39:00 PDT 2019 Fix Lightroom plugin loading...

total 0

drwxr-xr-x  20 dan   staff   640 Mar 16 09:39 .

drwxrwxrwx  32 dan   staff  1024 Mar 11 09:50 ..

drwxr-xr-x   2 dan   staff    64 Jan  3  2016 Color Profiles

drwxr-xr-x   3 dan   staff    96 Jan  1  2016 Develop Presets

drwxr-xr-x   2 dan   staff    64 Jan  3  2016 Device Icons

drwxr-xr-x   3 dan   staff    96 Dec  5  2016 Email Address Book

drwxr-xr-x   3 dan   staff    96 Jan  1  2016 Export Presets

drwxr-xr-x   2 dan   staff    64 Jan  1  2016 External Editor Presets

drwxr-xr-x  12 dan   staff   384 Jan  3  2016 Filename Templates

drwxr-xr-x  10 dan   staff   320 Jan  5  2016 Filter Presets

drwxr-xr-x   3 dan   staff    96 Jan  3  2016 Import Presets

drwxr-xr-x   5 dan   staff   160 Jan  1  2016 Keyword Sets

drwxr-xr-x   5 dan   staff   160 Jan  1  2016 Label Sets

drwxr-xr-x   3 dan   staff    96 Oct 21 15:36 Layout Templates

drwxr-xr-x   7 dan   staff   224 Jan  3  2016 Local Adjustment Presets

drwxr-xr-x   3 dan   staff    96 Jan  3  2016 Metadata Presets

drwxr-xr-x   2 root  staff    64 Mar 16 09:39 Modules

drwxr-xr-x   4 dan   staff   128 Dec  6  2017 Preferences

drwxr-xr-x   8 dan   staff   256 Jan  1  2016 Smart Collection Templates

drwxr-xr-x   2 dan   staff    64 Mar 13  2018 Web Galleries

Sat Mar 16 09:39:01 PDT 2019 Executing CCP_LRplugin_CreateModules done.

Sat Mar 16 09:39:01 PDT 2019 Executing postinstall started...

Sat Mar 16 09:39:01 PDT 2019 Change the prism.lic access rights

-rw-r--r--  1 dan  staff  87 Nov  7 08:05 /Applications/ColorChecker Passport.app/Contents/MacOS/prism.lic

Sat Mar 16 09:39:01 PDT 2019 Executing postinstall done.

Sat Mar 16 09:39:01 PDT 2019 Executing CCP_LRplugin_CopyApp started...

Sat Mar 16 09:39:01 PDT 2019 Check if plugin folder exists and, if not, create it...

total 0

drwxr-xr-x   2 dan  staff    64 Sep 26 11:53 .

drwxrwxrwx  36 dan  staff  1152 Mar 16 09:39 ..

Sat Mar 16 09:39:01 PDT 2019 Check if app is installed and copy it...

Sat Mar 16 09:39:01 PDT 2019 Copying /Applications/ColorChecker Passport.app to LR...

Sat Mar 16 09:39:03 PDT 2019 Executing CCP_LRplugin_CopyApp done.

Thanks

Dan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 21, 2022 May 21, 2022

Copy link to clipboard

Copied

LATEST

I encountered the exact same issue. Was this ever resolved?

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines