Profile Edit
-
Getting an error when trying to change profile stuff, ‘EACCES: permission denied’.
Is my permission not working or something from a recent change/update on the back end of nodebb?
Thanks in advance, just curious.
-
@SirKay What “profile stuff” are you specifically trying to change, and what steps are you taking to change it?
-
@Pavel Sorry, I should have said that. The images (icon and bg image on the profile tab thing).
-
@SirKay Is this error message appearing when you try to upload a picture, then?
-
@Pavel Sorry was recreating to the get exact message.
First screen is the upload, I choose a file. Next screen is the crop and upload.
I click crop and upload and get the error. Here is the full message: 'EACCES: permission denied, copyfile ‘/tmp/33e3a04a3949b6f331ea75139b07f07a.jpeg.png’ -> ‘/home/nodebb/nodebb/public/uploads/profile/uid-437/437-profileavatar-1739462445410.png’
This file is jpeg, but tried it with jpg and png as well.
-
@SirKay Looks like we’ve run into a permissions error on the server itself. Nodebb is trying to do something it’s not allowed to — probably a result of the recent update/migration leading to a folder ownership/permission mismatch. Just gotta wait for the boss to sort it out.
-
@Pavel Thanks, appreciate this being checked into.
-
Gently bumping the thread as I inadvertently ran into the same issue, I thought I could change my profile picture but got the same error.
EACCES: permission denied, copyfile '/tmp/36b4542115da5b4ee84adad875694127.jpeg.png' -> '/home/nodebb/nodebb/public/uploads/profile/uid-64/64-profileavatar-1744902192432.png'
Not a big deal! Just wanted to make others aware to be cautious about changes.
-
@Tez
This may have been introduced during the last update/upgrade? Looks like it might be a quick fix. https://community.nodebb.org/topic/15860/solved-eacces-errors-after-rebuilds