# Chmod directories and files problem

**URL:** <https://forum.infinityfree.com/t/chmod-directories-and-files-problem/13066>\
**Category:** Hosting Support\
**Created:** [March 2, 2019, 5:06am UTC](https://forum.infinityfree.com/t/chmod-directories-and-files-problem/13066 "2019-03-02T05:06:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon65214930](https://forum.infinityfree.com/letter_avatar/anon65214930/32/6_449c533f586939b6e5f246632a46421f.png) [@anon65214930](https://forum.infinityfree.com/u/anon65214930)\
**Post date:** [March 2, 2019, 5:06am UTC](https://forum.infinityfree.com/t/chmod-directories-and-files-problem/13066/1 "2019-03-02T05:06:24Z")

</div>

I accidentally changed the permissions of a file with htdocs such that no one could access it. Now when I’m setting back Permission error is coming. The directory / htdocs could not be selected - you may not have enough rights to view this directory, or it may not exist. please help me

 ![first1](https://forum-cdn.infinityfree.net/original/1X/03a3544157ea0a53a740825a9ca319cced5ab1b3.png) ![seocnd](https://forum-cdn.infinityfree.net/original/1X/9c43b28e990a2c37f2e716ad3c5dba122c9f2d9d.png)

---

<div class="post-metadata">

**Author:** ![anon6359875](https://forum.infinityfree.com/letter_avatar/anon6359875/32/6_449c533f586939b6e5f246632a46421f.png) [@anon6359875](https://forum.infinityfree.com/u/anon6359875)\
**Post date:** [March 2, 2019, 1:30pm UTC](https://forum.infinityfree.com/t/chmod-directories-and-files-problem/13066/2 "2019-03-02T13:30:49Z")

</div>

Go-to Monsta FTP Software in /accounts in your main page. Go and change CHMOD settings there.

---

<div class="post-metadata">

**Author:** ![anon65214930](https://forum.infinityfree.com/letter_avatar/anon65214930/32/6_449c533f586939b6e5f246632a46421f.png) [@anon65214930](https://forum.infinityfree.com/u/anon65214930)\
**Post date:** [March 2, 2019, 5:01pm UTC](https://forum.infinityfree.com/t/chmod-directories-and-files-problem/13066/3 "2019-03-02T17:01:23Z")

</div>

i also use this method but same error

 ![3](https://forum-cdn.infinityfree.net/original/1X/f29adb965dc0fc01bfdd0c4036c8f8224f78c126.png)

please help me

---

<div class="post-metadata">

**Author:** ![anon65214930](https://forum.infinityfree.com/letter_avatar/anon65214930/32/6_449c533f586939b6e5f246632a46421f.png) [@anon65214930](https://forum.infinityfree.com/u/anon65214930)\
**Post date:** [March 2, 2019, 6:53pm UTC](https://forum.infinityfree.com/t/chmod-directories-and-files-problem/13066/4 "2019-03-02T18:53:25Z")

</div>

sir please help me it’s very inpotent for me please help me

---

<div class="post-metadata">

**Author:** ![anon6359875](https://forum.infinityfree.com/letter_avatar/anon6359875/32/6_449c533f586939b6e5f246632a46421f.png) [@anon6359875](https://forum.infinityfree.com/u/anon6359875)\
**Post date:** [March 3, 2019, 5:11am UTC](https://forum.infinityfree.com/t/chmod-directories-and-files-problem/13066/5 "2019-03-03T05:11:30Z")

</div>

Hmm I sent you a message on personal…

---

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [March 3, 2019, 8:47am UTC](https://forum.infinityfree.com/t/chmod-directories-and-files-problem/13066/6 "2019-03-03T08:47:57Z")

</div>

@anon65214930

That’s logical because you’re unfortunately locked yourself  
If you removed your own permissions to make changes to files (i.e. permissions lower than 600), then you cannot make changes to those files again, including changing their permissions. Unfortunately, there are no safeguards at this time to prevent you from locking yourself out, and no way to reset file permissions if you do.

Please try to recreate your website on a different account (create new acc)

we do not think of a new registration (do not be confused)  
just go to the client area  
and at the top you will have a button

 ![Capture](https://forum-cdn.infinityfree.net/original/1X/419e02834874e17a726b2445701bebb564382b4e.png)

---

<div class="post-metadata">

**Author:** ![anon6359875](https://forum.infinityfree.com/letter_avatar/anon6359875/32/6_449c533f586939b6e5f246632a46421f.png) [@anon6359875](https://forum.infinityfree.com/u/anon6359875)\
**Post date:** [March 3, 2019, 1:53pm UTC](https://forum.infinityfree.com/t/chmod-directories-and-files-problem/13066/7 "2019-03-03T13:53:21Z")

</div>

Hmm @QxyDac is correct here.  
Steps is that goto cPanel - Addon Domains - Delete your Domain from which you had difficulties,

Delete your account.  
Add the Account Again.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [April 2, 2019, 1:53pm UTC](https://forum.infinityfree.com/t/chmod-directories-and-files-problem/13066/8 "2019-04-02T13:53:34Z")

</div>

Closed on April 2, 2019, 1:53pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
