Forum

Author Topic: Problem with opening document on server: Permission Denied Error  (Read 615 times)

Kate_

  • Newbie
  • *
  • Posts: 8
    • View Profile
Hello!

1  On computer #1, I created a document using the API of Python to load photos into it.
2. The document is saved on computer #2, where the Metashape server and working node are deployed
3. An AlignPhoto() NetworkTask is sent to the server specifying the path to the project

Error Details:
Code: [Select]
2025-04-22 14:04:51 Matching photos...
2025-04-22 14:04:51 Error: Can't create directory: Permission denied (13): /path/to/project/20250422_1404.files/0/0/point_cloud
2025-04-22 14:04:51 processing failed in 0.202449 sec

Filesystem Information:
Results of ls -l in the project directory:
Code: [Select]
drwxr-xr-x 3 nobody nogroup 4096 апр 22 14:04 20250422_1404.files
-rwxr--r-- 1 nobody nogroup  106 апр 22 14:04 20250422_1404.psx


The Metashape server process is unable to create directories within the project structure due to permission issues. The files are owned by "nobody:nogroup" with permissions that don't allow the server process to write to the directory.


Has anyone encountered a similar issue? Any advice would be greatly appreciated.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15469
    • View Profile
Re: Problem with opening document on server: Permission Denied Error
« Reply #1 on: April 29, 2025, 06:40:25 PM »
Hello Kate,

Please elaborate the steps you are following so that we could try to reproduce the same issue on our side, for example:
- script has been run on Computer #1, but the project has been saved to Computer #2 via network? If so, that how the network folder has been mounted?
- from what machine/account the network processing script has been started?
Best regards,
Alexey Pasumansky,
Agisoft LLC