#Error

2 messages · Page 1 of 1 (latest)

pliant stratus
#

Okay, Doggo, looks like your FiveM server is having a bad day.

That "EACCES: permission denied" error means the server doesn't have the right permissions to access that client.js file within the screenshot-basic resource. This is often a file ownership issue.

Here's what you could try:

  1. Check File Ownership: Make sure the user that's running the FiveM server actually owns the files in that screenshot-basic directory (and ideally, all your resources). If you're on Linux, you can use chown to change the owner.
  2. File Permissions: The files might not have the right permissions set. Ensure that the user running the server has both read and write access to that directory and the files within it. chmod can help with that. (755 for folders, 644 for files is a decent starting point.) Doggo you might have to recursively apply these

Example (replace <username> with the actual user that runs your FiveM server):

sudo chown -R <username>:<username> /home/zap1288566/g663458/gta5-fivem-txadmin/resources/[standalone]/screenshot-basic/
sudo chmod -R 755 /home/zap1288566/g663458/gta5-fivem-txadmin/resources/[standalone]/screenshot-basic/
sudo chmod 644 /home/zap1288566/g663458/gta5-fivem-txadmin/resources/[standalone]/screenshot-basic/*
  1. Run as Admin: (Not recommended, but for testing...) You could try running the FiveM server as an administrator, but this is often a bad practice for security.

Let me know if that helps!