Invalid file permissions on mapped drive

I’m having exactly the same issue as a year ago when I opened another support request at Permissions error creating 2nd local site

When trying to create a new site on a network drive I get an error


Same as in previous post


System Details

  • Local Version:

  • Operating System (OS) and OS version:


Local Logs

{"level":"warn","linuxEdition":null,"localChannel":"stable","localVersion":"9.2.9+6887","message":"Electron Event ready","osArch":"x64","osPlatform":"win32","osRelease":"10.0.19045","timestamp":"2025-11-12T08:36:04.766Z","windowsEdition":"Microsoft Windows 10 Pro"}

{"class":"Process","level":"warn","message":"2025-11-12T08:40:04.608032Z 0 \[System\] \[MY-010116\] \[Server\] %%userDataPath%%\\\\lightning-services\\\\mysql-8.0.35+4\\\\bin\\\\win64\\\\bin\\\\mysqld.exe (mysqld 8.0.35) starting as process 24436","process":"mysql","thread":"main","timestamp":"2025-11-12T08:40:04.628Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:40:04.610041Z 0 \[Warning\] \[MY-013243\] \[Server\] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:40:04.629Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:40:04.634620Z 0 \[Warning\] \[MY-013907\] \[InnoDB\] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=201326592. Please use innodb_redo_log_capacity instead.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:40:04.634Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:40:04.638983Z 1 \[System\] \[MY-013576\] \[InnoDB\] InnoDB initialization has started.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:40:04.639Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:40:05.157582Z 1 \[System\] \[MY-013577\] \[InnoDB\] InnoDB initialization has ended.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:40:05.157Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:40:05.725306Z 0 \[Warning\] \[MY-010068\] \[Server\] CA certificate ca.pem is self signed.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:40:05.725Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:40:05.725385Z 0 \[System\] \[MY-013602\] \[Server\] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:40:05.726Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:40:05.796864Z 0 \[System\] \[MY-010931\] \[Server\] %%userDataPath%%\\\\lightning-services\\\\mysql-8.0.35+4\\\\bin\\\\win64\\\\bin\\\\mysqld.exe: ready for connections. Version: '8.0.35'  socket: ''  port: 10023  MySQL Community Server - GPL.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:40:05.796Z"}

{"class":"WordPressInstaller","level":"error","message":"Error installing WordPress","stack":"Error: Error: Command failed: \\"%%userDataPath%%\\\\lightning-services\\\\php-8.2.27+1\\\\bin\\\\win64\\\\php.exe\\" \\"%%resourcesPath%%\\\\bin\\\\wp-cli\\\\wp-cli.phar\\" --path=\\"W:\\\\CWW\\\\app\\\\public\\" --require=\\"%%resourcesPath%%\\\\bin\\\\wp-cli\\\\local-wpcli-error-reporting.php\\" --skip-plugins --skip-themes \\"core\\" \\"config\\" --skip-check --dbname=local --dbuser=root --dbpass=root\\nError: It seems, the WordPress core files do not have the proper file permissions.\\n\\n    at WordPressInstaller.<anonymous> (%%appPath%%\\\\main\\\\sites\\\\wp\\\\WordPressInstaller.js:371:27)\\n    at Generator.throw (<anonymous>)\\n    at rejected (%%appPath%%\\\\main\\\\sites\\\\wp\\\\WordPressInstaller.js:29:65)\\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","thread":"main","timestamp":"2025-11-12T08:43:22.636Z"}

{"eventId":"32127c54cfc1446784b959a25e56c534","level":"warn","message":"Unhandled Rejection.","p":{},"reason":{},"thread":"main","timestamp":"2025-11-12T08:45:47.664Z"}

{"class":"DeleteSiteService","level":"warn","message":"Unable to delete site. Error: Command failed: \\"icacls\\" \\"W:\\\\CWW\\" \\"/reset\\" \\"/T\\"\\r\\nW:\\\\CWW\\\\app\\\\public\\\\wp-includes\\\\sodium_compat\\\\src\\\\Core32\\\\XChaCha20.php: The handle is invalid.\\r\\n\\nundefined\\nundefined\\nexitCode: 6","stack":"Error: Error: Command failed: \\"icacls\\" \\"W:\\\\CWW\\" \\"/reset\\" \\"/T\\"\\r\\nW:\\\\CWW\\\\app\\\\public\\\\wp-includes\\\\sodium_compat\\\\src\\\\Core32\\\\XChaCha20.php: The handle is invalid.\\r\\n\\nundefined\\nundefined\\nexitCode: 6\\n    at %%appPath%%\\\\main\\\\\_helpers\\\\sudo.js:31:31\\n    at %%appPath%%\\\\node_modules\\\\@vscode\\\\sudo-prompt\\\\index.js:479:35\\n    at ChildProcess.exithandler (node:child_process:410:7)\\n    at ChildProcess.emit (node:events:519:28)\\n    at maybeClose (node:internal/child_process:1101:16)\\n    at ChildProcess.\_handle.onexit (node:internal/child_process:304:5)","thread":"main","timestamp":"2025-11-12T08:46:05.194Z"}

{"class":"DeleteSiteService","level":"warn","message":"Could not trash","thread":"main","timestamp":"2025-11-12T08:47:26.297Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:48:39.876774Z 0 \[System\] \[MY-010116\] \[Server\] %%userDataPath%%\\\\lightning-services\\\\mysql-8.0.35+4\\\\bin\\\\win64\\\\bin\\\\mysqld.exe (mysqld 8.0.35) starting as process 21812","process":"mysql","thread":"main","timestamp":"2025-11-12T08:48:39.887Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:48:39.878654Z 0 \[Warning\] \[MY-013243\] \[Server\] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:48:39.888Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:48:39.893067Z 0 \[Warning\] \[MY-013907\] \[InnoDB\] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=201326592. Please use innodb_redo_log_capacity instead.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:48:39.892Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:48:39.897684Z 1 \[System\] \[MY-013576\] \[InnoDB\] InnoDB initialization has started.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:48:39.897Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:48:40.359387Z 1 \[System\] \[MY-013577\] \[InnoDB\] InnoDB initialization has ended.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:48:40.520Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:48:40.938019Z 0 \[Warning\] \[MY-010068\] \[Server\] CA certificate ca.pem is self signed.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:48:40.937Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:48:40.938107Z 0 \[System\] \[MY-013602\] \[Server\] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:48:40.937Z"}

{"class":"Process","level":"warn","message":"2025-11-12T08:48:41.028751Z 0 \[System\] \[MY-010931\] \[Server\] %%userDataPath%%\\\\lightning-services\\\\mysql-8.0.35+4\\\\bin\\\\win64\\\\bin\\\\mysqld.exe: ready for connections. Version: '8.0.35'  socket: ''  port: 10023  MySQL Community Server - GPL.","process":"mysql","thread":"main","timestamp":"2025-11-12T08:48:41.028Z"}

{"class":"WordPressInstaller","level":"error","message":"Error installing WordPress","stack":"Error: Error: Command failed: \\"%%userDataPath%%\\\\lightning-services\\\\php-8.2.27+1\\\\bin\\\\win64\\\\php.exe\\" \\"%%resourcesPath%%\\\\bin\\\\wp-cli\\\\wp-cli.phar\\" --path=\\"W:\\\\CWW\\\\app\\\\public\\" --require=\\"%%resourcesPath%%\\\\bin\\\\wp-cli\\\\local-wpcli-error-reporting.php\\" --skip-plugins --skip-themes \\"core\\" \\"config\\" --skip-check --dbname=local --dbuser=root --dbpass=root\\nError: It seems, the WordPress core files do not have the proper file permissions.\\n\\n    at WordPressInstaller.<anonymous> (%%appPath%%\\\\main\\\\sites\\\\wp\\\\WordPressInstaller.js:371:27)\\n    at Generator.throw (<anonymous>)\\n    at rejected (%%appPath%%\\\\main\\\\sites\\\\wp\\\\WordPressInstaller.js:29:65)\\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","thread":"main","timestamp":"2025-11-12T08:51:51.563Z"}

{"eventId":"c821c9eb9e6141639bda95c26f797250","level":"warn","message":"Unhandled Rejection.","p":{},"reason":{},"thread":"main","timestamp":"2025-11-12T09:01:10.076Z"}

{"class":"DeleteSiteService","level":"warn","message":"Could not trash","thread":"main","timestamp":"2025-11-12T09:09:50.011Z"}

Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @pzh20 welcome back! Glad to see you here again. Please give me some time to check the logs you provided. Could you also share the details of your site settings?

  • OS version
  • Local version
  • Web server
  • PHP version
  • Database
  • WordPress version

Hey @pzh20

From the error lines you provided, it looks Local is having issues working with the W: drive. Can you tell us a little more about that drive? For example, is it an external hard drive or in some way treated differently by the OS?

Also, can provide all the Local Logs? You can get a zip of those logs by clicking the “Download Local Log” button from the “Support” tab of Local. See this help doc for more information:

1 Like

Not back at the computer until tomorrow, however, this is a NAS drive which works fine with everything else in windows.

I’ll get to full logs over tomorrow

Have you been able to try this again @pzh20? If you still need further assistance and can share those logs let us know!

1 Like