Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when accessing location on CIFS mount permission denied #3082

Open
aprayez opened this issue Mar 21, 2019 · 0 comments
Open

Crash when accessing location on CIFS mount permission denied #3082

aprayez opened this issue Mar 21, 2019 · 0 comments

Comments

@aprayez
Copy link

aprayez commented Mar 21, 2019

Version: Gaffer 0.53.3.0-linux
Third-party tools: None
Third-party modules: None

Description

As far as I can tell, every time I try to open a location for which I don't have the read rights, that's on a cifs mount, gaffer crashes.

Steps to Reproduce

  1. Create a folder NO_READ/ anywhere on your CIFS file server
  2. Remove all access for userA on location NO_READ/
  3. As userA mount the CIFS location onto something like /mnt/projects
  4. Launch gaffer, create a SceneReader, navigate to /mnt/projects/..../NO_READ
  5. Crash ?

Debug Log

[alexis_p@localhost ~]$ gaffer-0.53.3.0-linux/bin/gaffer

terminate called after throwing an instance of
'boost::filesystem::filesystem_error'
  what():  boost::filesystem::directory_iterator::operator++: Permission denied: "/mnt/proj/PHOSPHOR"
Aborted (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant