[{"data":1,"prerenderedAt":67},["ShallowReactive",2],{"/2025/12/29-ftp-access-denied-when-attempting-to-transfer-files":3},{"id":4,"title":5,"body":6,"date":58,"description":54,"extension":59,"meta":60,"navigation":61,"path":62,"robots":63,"seo":64,"stem":65,"__hash__":66},"posts/2025/12/29 FTP-access-denied-when-attempting-to-transfer-files.md","29 FTP Access Denied When Attempting To Transfer Files",{"type":7,"value":8,"toc":55},"minimark",[9,18,25,28,31,33,36,38,41],[10,11,13],"post-title",{":date":12},"date",[14,15,17],"h1",{"id":16},"ftp-access-denied-when-attempting-to-transfer-files","FTP Access Denied When Attempting to Transfer Files",[19,20,21],"notes",{},[22,23,24],"p",{},"This is a repost from my old blog. First posted in 12/8/2020.",[26,27],"br",{},[22,29,30],{},"Permission is, as usual, a double-edged sword. It happened when I tried to transfer files to a remote Linux server.",[26,32],{},[22,34,35],{},"I created a directory on the remote server and attempting to transfer files via FTP client but got an access denied error. It is weird because I do login using the same account and thus as the owner of the directory.",[26,37],{},[22,39,40],{},"The one that solves the problem in my case is by changing ownership of the folder recursively (-R option) and use name of the user as group name such as:",[42,43,44],"code-block",{},[45,46,51],"pre",{"className":47,"code":49,"language":50},[48],"language-text","sudo chown -R \u003Cuser>:\u003Cuser> \u003Cdirectory>\n","text",[52,53,49],"code",{"__ignoreMap":54},"",{"title":54,"searchDepth":56,"depth":56,"links":57},2,[],"2025-12-29T00:00:00.000Z","md",{},true,"/2025/12/29-ftp-access-denied-when-attempting-to-transfer-files",null,{"title":5,"description":54},"2025/12/29 FTP-access-denied-when-attempting-to-transfer-files","oGIllv168COSmOyGW9WFbYvoFlMaZxoPWkK6ARgUgAc",1785167452021]