Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

No folder write permission on OSX & Linux #2

Open
STRND opened this issue Feb 25, 2017 · 13 comments
Open

No folder write permission on OSX & Linux #2

STRND opened this issue Feb 25, 2017 · 13 comments

Comments

@STRND
Copy link

STRND commented Feb 25, 2017

MacBook Pro 2016 Touchbar:
I created a folder in my applications called 'addon' and put your file in there. I then pressed the button in blender and this came up in red:

Traceback (most recent call last):
File "/Users/strnd/Library/Application Support/Blender/2.78/scripts/addons/filmic_blender.py", line 57, in execute
os.rename(cmpath, opath)
OSError: [Errno 30] Read-only file system: '/private/var/folders/n7/fhpx1n852sdg_xfzn02zm2jwmxt2vm/T/AppTranslocation/183AF043-928A-4D34-91DD-BF40165F1961/d/blender.app/Contents/Resources/2.78/datafiles/colormanagement' -> '/private/var/folders/n7/fhpx1n852sdg_xfzn02zm2jwmxt2vm/T/AppTranslocation/183AF043-928A-4D34-91DD-BF40165F1961/d/blender.app/Contents/Resources/2.78/datafiles/colormanagement_old'

location: :-1

Traceback (most recent call last):
File "/Users/strnd/Library/Application Support/Blender/2.78/scripts/addons/filmic_blender.py", line 57, in execute
os.rename(cmpath, opath)
OSError: [Errno 30] Read-only file system: '/private/var/folders/n7/fhpx1n852sdg_xfzn02zm2jwmxt2vm/T/AppTranslocation/183AF043-928A-4D34-91DD-BF40165F1961/d/blender.app/Contents/Resources/2.78/datafiles/colormanagement' -> '/private/var/folders/n7/fhpx1n852sdg_xfzn02zm2jwmxt2vm/T/AppTranslocation/183AF043-928A-4D34-91DD-BF40165F1961/d/blender.app/Contents/Resources/2.78/datafiles/colormanagement_old'

location: :-1

@gregzaal
Copy link
Owner

Sounds like a problem with the folder permissions, but since I don't have a Mac to test with I don't think I can solve this now.

@sphinxc0re
Copy link

I have the same problem with Ubuntu 16.04. Here is a screenshot:
screenshot from 2017-02-25 18-25-19

@gregzaal
Copy link
Owner

I guess in linux it has to be run with sudo, unless you store blender somewhere that you have permission to write to

@sphinxc0re
Copy link

Pity! I want the ease of updating so badly

@gregzaal
Copy link
Owner

Did you install blender from one of the linux package managers (apt-get)? Those are usually problematic for a variety of reasons. Better to get it from blender.org or builder.blender.org.

@STRND
Copy link
Author

STRND commented Feb 25, 2017

Removed add on and move blender out of my applications folder and into documents. Added add on again and keep getting this:

Traceback (most recent call last):
File "/Users/strnd/Library/Application Support/Blender/2.78/scripts/addons/filmic_blender.py", line 57, in execute
os.rename(cmpath, opath)
OSError: [Errno 30] Read-only file system: '/private/var/folders/n7/fhpx1n852sdg_xfzn02zm2jwmxt2vm/T/AppTranslocation/06C28B33-B209-4B2F-9E8D-779EFA3AF4CD/d/blender.app/Contents/Resources/2.78/datafiles/colormanagement' -> '/private/var/folders/n7/fhpx1n852sdg_xfzn02zm2jwmxt2vm/T/AppTranslocation/06C28B33-B209-4B2F-9E8D-779EFA3AF4CD/d/blender.app/Contents/Resources/2.78/datafiles/colormanagement_old'

location: :-1

Read-only file system? I have Sophos installed on system but can't see how that would be an issue with permissions.I'm not sure how I can fix this. Any suggestions as I think your add on is a great way to update Filmic on Blender and I would like to say thank you for the time to make this add on.

@STRND
Copy link
Author

STRND commented Feb 25, 2017

screen shot 2017-02-25 at 22 08 13

@gregzaal gregzaal changed the title Traceback issue? No folder write permission on OSX & Linux Feb 26, 2017
@gregzaal
Copy link
Owner

For Linux users, just start blender from a terminal with sudo blender, then it'll have permission to write to that folder. No idea what the sudo equivalent for OSX is.

@sphinxc0re
Copy link

It's sudo 😁

@sphinxc0re
Copy link

Isn't there another way? Can't you open a password prompt or something?

@gregzaal
Copy link
Owner

No idea, someone with experience with this should help out.

@joshring
Copy link

joshring commented Mar 1, 2017

The easiest way to adjust on Linux (and mac) is to use the environment variable approach:

"export OCIO=/path/to/where/the/filmic-blender/config.ocio"
So put export OCIO=cpath or something similar in the code and all will be well for both mac and linux.

See the discussion about the environment variable here:
https://github.com/sobotka/filmic-blender

That should be modifiable without sudo etc

@FirefoxMetzger
Copy link

FirefoxMetzger commented Jul 3, 2017

I ran into the same issue on Windows 10 today. It's in a different line though.
screenshot

Edit: Found a solution and its the same as on another OS: run as administrator.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants