{"id":22542,"date":"2026-08-28T11:53:24","date_gmt":"2026-08-28T09:53:24","guid":{"rendered":"https:\/\/www.curiaweb.ch\/?post_type=docs&#038;p=22542"},"modified":"2026-08-28T11:53:25","modified_gmt":"2026-08-28T09:53:25","password":"","slug":"file-permissions-644-755","status":"publish","type":"docs","link":"https:\/\/www.curiaweb.ch\/en\/hilfe\/webhosting-cpanel\/dateiberechtigungen-644-755\/","title":{"rendered":"How to correctly set file permissions 644 and 755 in cPanel"},"content":{"rendered":"<p class=\"wp-block-paragraph\">File permissions on a web server determine who is allowed to read, modify, execute, or access a file or directory. Incorrectly set permissions can cause a website to malfunction, prevent files from being written, or create unnecessary security risks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is why on many websites you encounter permissions such as <code>644<\/code> for files and <code>755<\/code> for directories.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this guide, we will show you how to control and change file permissions in the CURIAWEB cPanel, what the numbers mean, and why you should use permissions such as <code>777<\/code> should not use as a blanket solution.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Important:<\/strong> <code>644<\/code> for files and <code>755<\/code> typical values for directories, but not a universal standard for every file and application. Only change permissions if you know why a change is necessary.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">What are file permissions?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Linux-based web servers use a permission system to control access to files and directories.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A basic distinction is made between three user classes:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Owner<\/strong> - the owner of the file or directory<\/li>\n\n\n\n<li><strong>Group<\/strong> \u2013 the assigned user group<\/li>\n\n\n\n<li><strong>Others<\/strong> \u2013 all other users<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Different rights can be assigned for each of these classes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What rights are there?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The three fundamental rights are <strong>Read<\/strong>, <strong>Write<\/strong> and <strong>Execute<\/strong> referred to as.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">They are frequently represented by the following letters:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>read<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>w = write<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>x = execute<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In simple terms in German, this means:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Read<\/strong> \u2013 read<\/li>\n\n\n\n<li><strong>Write<\/strong> \u2013 writing or modifying<\/li>\n\n\n\n<li><strong>Execute<\/strong> \u2013 execute; in the case of directories, specifically to allow directory access or traversal<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Important:<\/strong> The execute permission has a different practical meaning for a directory than for a normal file. In the case of directories, it specifically enables access to paths located within them.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Why are permissions made up of three numbers?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The commonly used numerical notation combines the rights for owner, group, and others.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The three fundamental rights have the following values:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Read = 4<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Write = 2<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Execute = 1<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The values are added for each user class.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, means:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>7 = 4 + 2 + 1 = Read + Write + Execute<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>6 = 4 + 2 = Reading + Writing<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>5 = 4 + 1 = Read + Execute<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>4 = Reading<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What does 644 mean?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The permission:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>644<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">is composed of three digits.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The first digit applies to the owner, the second to the group, and the third to all other users.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This means <code>644<\/code>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Owner: 6<\/strong> - reading and writing<\/li>\n\n\n\n<li><strong>Group: 4<\/strong> \u2013 read<\/li>\n\n\n\n<li><strong>Others: 4<\/strong> \u2013 read<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In symbolic representation, this typically corresponds to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>rw-r--r--<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The owner can therefore read and modify the file. Group and other users only have read permissions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why is 644 frequently used for website files?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In many hosting configurations, standard website files do not need to be writable by all users.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is why <code>644<\/code> a typical value for many regular files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This can affect files such as the following, for example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>index.php<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>style.css<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>script.js<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>.htaccess<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ob <code>644<\/code> what is correct for a specific file, however, depends on the respective application and server configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What does 755 mean?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The permission:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>755<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">means:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Owner: 7<\/strong> - read, write and execute<\/li>\n\n\n\n<li><strong>Group: 5<\/strong> \u2013 read and execute<\/li>\n\n\n\n<li><strong>Others: 5<\/strong> \u2013 read and execute<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Symbolically, this typically corresponds to:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>rwxr-xr-x<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why is 755 commonly used for directories?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For directories, the execute permission is important so that the directory contents or paths located within them can be accessed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Therefore <code>755<\/code> commonly used for regular website directories.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>public_html<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>wp-content<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>wp-content\/uploads<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">or other regular website directories.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Briefly explained:<\/strong> <code>644<\/code> is common with many normal files, <code>755<\/code> for many standard directories. The correct permission still always depends on the specific use case.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">What does 777 mean?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>777<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Owner, Group, and Others each receive:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Read + Write + Execute<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This grants very far-reaching rights.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On the internet, <code>777<\/code> sometimes recommended as a quick fix when an application cannot write to a file or directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That is not a useful general troubleshooting step.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Attention:<\/strong> Do not set files or directories generally to <code>777<\/code>, just to make a permission error go away. This can create unnecessarily broad write permissions while the actual root cause remains unaddressed.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Why \u201e777 works\u201c is not a good diagnosis<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If an application only after setting <code>777<\/code> can write, this merely demonstrates that permissions or ownership relations might play a role.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It does not prove that <code>777<\/code> is the correct permanent setting.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Instead, you should clarify why the intended process does not work with normal permissions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Open cPanel File Manager<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to your CURIAWEB cPanel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then open:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Files \u2192 File Manager<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We explain the basics of the file manager at <a href=\"\/en\/help\/web-hosting-cpanel\/use-cpanel-file-manager\/\">Use cPanel File Manager<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Navigate to the desired directory<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open the folder containing the file or directory in question.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the main website, this is, for example, in a typical configuration:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>public_html<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A different document root can be used for additional domains.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Check current authorization<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The file manager displays the permissions of the files and directories in the corresponding column or via their properties.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Find the relevant entry and check the existing value first.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>0644<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">or:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>0755<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The leading zero is used in some representations. For the standard permissions discussed here, <code>0644<\/code> and <code>644<\/code> or rather <code>0755<\/code> and <code>755<\/code> the corresponding representations of the same right-bit pattern.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Select file or directory<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Select the entry whose permission you want to change.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check name and path carefully.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Especially with files of the same name in different directories, you should make sure that you are actually working in the right place.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5. Open permission dialog<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Select in the file manager <strong>Permissions<\/strong> or the corresponding function to change the file permissions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cPanel then shows the permissions for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>User or owner<\/li>\n\n\n\n<li>Group<\/li>\n\n\n\n<li>World respectively Others<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">and the respective options for read, write, and execute.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">6. Set normal file to 644<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If for a normal website file expressly <code>644<\/code> is required, the permissions must be set as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Owner: Reading and Writing<\/li>\n\n\n\n<li>Group: Reading<\/li>\n\n\n\n<li>Others: Read<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The resulting numerical value should:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>644<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">amount to.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then confirm the change.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set normal directory to 755<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If for a regular website directory <code>755<\/code> is needed, you set:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Owner: Read, Write and Execute<\/li>\n\n\n\n<li>Group: Read and Execute<\/li>\n\n\n\n<li>Others: Read and Execute<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The resulting value should:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>755<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">amount to.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then confirm the change.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Attention:<\/strong> Do not set all files and directories to the same value. Files and directories often require different permissions due to their different functions.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">8. Test website after the change<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After a relevant permission change, access the affected website or function.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Carefully check the function for which you changed the permission.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, if an upload directory was affected, test a regular upload through the application.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When a 403 error has been investigated, access the previously affected URL again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Make only one change at a time<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Do not change file permissions at the same time while troubleshooting, <code>.htaccess<\/code>, PHP version and other settings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the error then disappears, you won't be able to trace which change was actually relevant.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Practical Tip:<\/strong> Make a change, test it, and document the result. Only execute the next step after that.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Files and directories have different requirements<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A normal file often does not need to be executable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A directory, on the other hand, requires the execute permission in order to access the paths contained within it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Therefore, it is wrong to make the permissions of a file and a directory identical just because both belong to the same website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What happens when permissions are too low?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the permissions are set too restrictively, an application may no longer be able to access required files or directories.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Possible consequences include, for example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Files cannot be read<\/li>\n\n\n\n<li>Uploads k\u00f6nnen nicht gespeichert werden<\/li>\n\n\n\n<li>Cache-Dateien k\u00f6nnen nicht erstellt werden<\/li>\n\n\n\n<li>Updates k\u00f6nnen fehlschlagen<\/li>\n\n\n\n<li>Verzeichnisse sind nicht zug\u00e4nglich<\/li>\n\n\n\n<li>die Website zeigt einen Fehler<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Was passiert bei zu hohen Berechtigungen?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Zu weitreichende Rechte k\u00f6nnen unn\u00f6tige Schreib- oder Ausf\u00fchrungsm\u00f6glichkeiten er\u00f6ffnen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eine Website funktioniert deshalb nicht \u201ebesser\u201c, nur weil m\u00f6glichst viele Rechte vergeben werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Das Ziel ist vielmehr, die f\u00fcr die jeweilige Funktion erforderlichen Rechte zu verwenden \u2013 nicht m\u00f6glichst viele.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">WordPress und Dateiberechtigungen<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Bei WordPress werden f\u00fcr viele Standardinstallationen h\u00e4ufig <code>644<\/code> for files and <code>755<\/code> f\u00fcr Verzeichnisse verwendet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Das bedeutet jedoch nicht, dass du bei einem WordPress-Problem pauschal den gesamten Webspace auf diese Werte setzen solltest.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Plugins, Caching-Systeme, Upload-Verzeichnisse und die konkrete Serverkonfiguration k\u00f6nnen zus\u00e4tzliche Aspekte mitbringen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">wp-config.php besonders beachten<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Die Datei:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>wp-config.php<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">enth\u00e4lt wichtige WordPress-Konfigurationsdaten und unter anderem Datenbankzugangsinformationen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ihre Berechtigungen sollten deshalb nicht unn\u00f6tig weit ge\u00f6ffnet werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Setze <code>wp-config.php<\/code> insbesondere nicht pauschal auf <code>777<\/code>, um ein anderes WordPress-Problem zu l\u00f6sen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">wp-content\/uploads<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress speichert hochgeladene Mediendateien normalerweise innerhalb von:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>wp-content\/uploads<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn WordPress dort keine Dateien speichern kann, k\u00f6nnen Berechtigungen eine m\u00f6gliche Ursache sein.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pr\u00fcfe jedoch auch andere Ursachen, bevor du die Rechte ver\u00e4nderst.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dazu geh\u00f6ren beispielsweise Speicherplatzprobleme oder eine fehlerhafte Server- beziehungsweise Anwendungskonfiguration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Plugin- oder Theme-Installation schl\u00e4gt fehl<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn WordPress ein Plugin oder Theme nicht installieren beziehungsweise aktualisieren kann, wird h\u00e4ufig sofort ein Berechtigungsproblem vermutet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Das muss nicht zwingend zutreffen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Auch fehlender Speicherplatz, Dateieigent\u00fcmer, PHP-Probleme oder andere technische Einschr\u00e4nkungen k\u00f6nnen eine Rolle spielen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c4ndere deshalb nicht den gesamten WordPress-Ordner auf <code>777<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Dateieigent\u00fcmer und Berechtigungen sind nicht dasselbe<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Neben den numerischen Berechtigungen besitzt eine Datei auch einen Eigent\u00fcmer und eine Gruppenzuordnung.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eine Datei kann deshalb scheinbar plausible Rechte besitzen und trotzdem Probleme verursachen, wenn Eigentumsverh\u00e4ltnisse nicht zur Serverkonfiguration passen.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Important:<\/strong> If <code>644<\/code> or rather <code>755<\/code> korrekt aussehen und trotzdem ein Zugriffsproblem besteht, ist \u201enoch mehr Rechte vergeben\u201c nicht automatisch der n\u00e4chste richtige Schritt.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Dateieigent\u00fcmer nicht \u00fcber Berechtigungen reparieren<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ein Problem mit dem Eigent\u00fcmer einer Datei wird nicht sauber dadurch gel\u00f6st, dass du allen Benutzern Schreibrechte gibst.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn du den Verdacht hast, dass Eigentumsverh\u00e4ltnisse falsch sind, sollte die Ursache gezielt gepr\u00fcft werden.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">403 Forbidden und Dateiberechtigungen<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A <strong>403 Forbidden<\/strong> kann unter anderem auftreten, wenn der Webserver nicht die erforderlichen Zugriffsrechte auf eine Datei oder ein Verzeichnis besitzt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dateiberechtigungen sind deshalb ein sinnvoller Pr\u00fcfpunkt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sie sind aber nicht die einzige m\u00f6gliche Ursache.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also <code>.htaccess<\/code>-Regeln, Sicherheitsmechanismen oder andere Serverkonfigurationen k\u00f6nnen einen 403-Fehler verursachen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Die vollst\u00e4ndige Fehlersuche behandeln wir unter <a href=\"\/en\/help\/web-hosting-cpanel\/fehler-403-forbidden-beheben\/\">Fix 403 Forbidden<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">500 Internal Server Error und Berechtigungen<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Auch ein <strong>500 Internal Server Error<\/strong> kann in bestimmten Situationen mit ungeeigneten Berechtigungen zusammenh\u00e4ngen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">H\u00e4ufig kommen jedoch ebenso PHP-Fehler, fehlerhafte <code>.htaccess<\/code>-Regeln oder andere Ursachen infrage.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Setze deshalb bei einem 500-Fehler nicht einfach alle Dateien auf andere Rechte.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Die systematische Diagnose findest du unter <a href=\"\/en\/help\/web-hosting-cpanel\/fehler-500-internal-server-error\/\">Fixing a 500 Internal Server Error<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">.htaccess und Berechtigungen<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn du Probleme mit <code>.htaccess<\/code> untersuchst, solltest du sowohl den Dateiinhalt als auch die Berechtigungen getrennt betrachten.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eine syntaktisch fehlerhafte Regel wird nicht dadurch korrekt, dass du die Datei auf <code>777<\/code> setzt.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wie du <code>.htaccess<\/code> sicher bearbeitest, erkl\u00e4ren wir unter <a href=\"\/en\/help\/web-hosting-cpanel\/htaccess-explained-edited\/\">.htaccess explained and safely edited<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Versteckte Dateien zuerst einblenden<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn du die Berechtigungen von <code>.htaccess<\/code> pr\u00fcfen m\u00f6chtest, die Datei aber nicht im Dateimanager siehst, aktiviere zun\u00e4chst die Anzeige versteckter Dateien.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can find the procedure under <a href=\"\/en\/help\/web-hosting-cpanel\/show-hidden-files-htaccess\/\">Show hidden files like .htaccess in cPanel<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Berechtigungen rekursiv \u00e4ndern \u2013 besondere Vorsicht<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Bei manchen Werkzeugen oder Arbeitsweisen k\u00f6nnen Berechtigungen f\u00fcr ein komplettes Verzeichnis und dessen Unterverzeichnisse beziehungsweise Dateien auf einmal ge\u00e4ndert werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eine solche rekursive \u00c4nderung kann sehr viele Dateien betreffen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Das ist riskant, wenn derselbe Wert unterschiedslos auf Dateien und Verzeichnisse angewendet wird.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Attention:<\/strong> Setze nicht rekursiv den gesamten Webspace auf <code>755<\/code>, <code>644<\/code> or <code>777<\/code>, ohne die Auswirkungen genau zu kennen. Dateien und Verzeichnisse ben\u00f6tigen nicht zwingend denselben Wert.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Warum 755 f\u00fcr alle Dateien nicht ideal ist<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn du normale Dateien auf <code>755<\/code> setzt, erhalten sie zus\u00e4tzlich Execute-Rechte, obwohl diese f\u00fcr viele normale Webdateien nicht ben\u00f6tigt werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mehr Berechtigungen sind nicht automatisch besser.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Warum 644 f\u00fcr alle Verzeichnisse problematisch sein kann<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Ein Verzeichnis ben\u00f6tigt typischerweise Execute-Rechte, damit Pfade innerhalb dieses Verzeichnisses betreten beziehungsweise aufgel\u00f6st werden k\u00f6nnen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ein pauschales <code>644<\/code> f\u00fcr Verzeichnisse kann deshalb den Zugriff auf deren Inhalte verhindern.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Warum 600 manchmal sinnvoll sein kann<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Du kannst auch restriktivere Berechtigungen wie:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>600<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">sehen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dies bedeutet:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Owner: lesen und schreiben<\/li>\n\n\n\n<li>Group: keine Rechte<\/li>\n\n\n\n<li>Others: keine Rechte<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Ob eine solche Einstellung f\u00fcr eine bestimmte Datei geeignet ist, h\u00e4ngt von der Server- und Anwendungskonfiguration ab.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Setze deshalb nicht automatisch jede Konfigurationsdatei auf <code>600<\/code>, nur weil dieser Wert restriktiver erscheint.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Warum 700 bei Verzeichnissen vorkommen kann<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>700<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">besitzt ausschlie\u00dflich der Owner Lese-, Schreib- und Execute-Rechte.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Gruppe und andere Benutzer besitzen keine Rechte.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Auch dieser Wert kann in bestimmten Konfigurationen sinnvoll sein, ist aber keine allgemeine Vorgabe f\u00fcr alle Website-Verzeichnisse.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00dcbersicht h\u00e4ufiger Berechtigungen<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Berechtigung<\/th><th>Meaning<\/th><th>Typische Einordnung<\/th><\/tr><\/thead><tbody><tr><td><code>600<\/code><\/td><td>Owner lesen\/schreiben<\/td><td>restriktive Datei, abh\u00e4ngig von Anwendung<\/td><\/tr><tr><td><code>644<\/code><\/td><td>Owner lesen\/schreiben, andere lesen<\/td><td>h\u00e4ufig bei normalen Website-Dateien<\/td><\/tr><tr><td><code>700<\/code><\/td><td>nur Owner mit allen Rechten<\/td><td>restriktives Verzeichnis, abh\u00e4ngig von Anwendung<\/td><\/tr><tr><td><code>755<\/code><\/td><td>Owner alle Rechte, andere lesen\/ausf\u00fchren<\/td><td>h\u00e4ufig bei normalen Website-Verzeichnissen<\/td><\/tr><tr><td><code>777<\/code><\/td><td>alle d\u00fcrfen lesen\/schreiben\/ausf\u00fchren<\/td><td>nicht als pauschale Probleml\u00f6sung verwenden<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Dateiberechtigungen nach Upload kontrollieren<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn Dateien \u00fcber den Dateimanager, FTP oder eine Anwendung erstellt beziehungsweise \u00fcbertragen wurden und anschlie\u00dfend Zugriffsprobleme auftreten, kann sich ein Blick auf die entstandenen Berechtigungen lohnen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c4ndere sie jedoch nur, wenn der aktuelle Wert tats\u00e4chlich nicht zur vorgesehenen Nutzung passt.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Datei l\u00e4sst sich im Dateimanager nicht bearbeiten<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn eine Datei nicht gespeichert oder bearbeitet werden kann, pr\u00fcfe zun\u00e4chst die aktuelle Berechtigung.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Beachte jedoch, dass auch andere Ursachen m\u00f6glich sind.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wie du Dateien grunds\u00e4tzlich im Dateimanager bearbeitest, zeigen wir unter <a href=\"\/en\/help\/web-hosting-cpanel\/upload-download-edit-files\/\">Upload, download, and edit files in cPanel<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Website nach Berechtigungs\u00e4nderung schlechter erreichbar<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn eine Website unmittelbar nach einer Berechtigungs\u00e4nderung einen Fehler zeigt, stelle den vorherigen Wert wieder her, sofern dieser bekannt ist.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ver\u00e4ndere nicht anschlie\u00dfend weitere Verzeichnisse auf Verdacht.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>welche Datei beziehungsweise welches Verzeichnis ge\u00e4ndert wurde<\/li>\n\n\n\n<li>den vorherigen Wert<\/li>\n\n\n\n<li>den neuen Wert<\/li>\n\n\n\n<li>welcher Fehler anschlie\u00dfend auftrat<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Damit l\u00e4sst sich die Ursache wesentlich besser nachvollziehen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Keine Berechtigungen \u201eauf Verdacht optimieren\u201c<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn eine Website problemlos funktioniert, gibt es normalerweise keinen Grund, s\u00e4mtliche Dateiberechtigungen allein aufgrund einer allgemeinen Internetanleitung zu ver\u00e4ndern.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eine vermeintliche \u201eH\u00e4rtung\u201c kann ebenso Probleme verursachen wie zu weitreichende Rechte.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Basic rule:<\/strong> \u00c4ndere Dateiberechtigungen aufgrund eines konkreten technischen Grundes \u2013 nicht, weil ein anderer Zahlenwert vermeintlich sicherer oder besser aussieht.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Empfohlener Ablauf bei einem Berechtigungsproblem<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Identifiziere die konkret betroffene Datei oder das Verzeichnis.<\/li>\n\n\n\n<li>Notiere die aktuelle Berechtigung.<\/li>\n\n\n\n<li>Pr\u00fcfe, ob es sich um eine Datei oder ein Verzeichnis handelt.<\/li>\n\n\n\n<li>\u00c4ndere nur den tats\u00e4chlich betroffenen Eintrag.<\/li>\n\n\n\n<li>Verwende keine pauschale <code>777<\/code>-Freigabe.<\/li>\n\n\n\n<li>Teste die betroffene Website beziehungsweise Funktion unmittelbar.<\/li>\n\n\n\n<li>Stelle bei einer Verschlechterung den vorherigen Wert wieder her.<\/li>\n\n\n\n<li>Pr\u00fcfe weitere Ursachen, wenn die Berechtigung bereits plausibel ist.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">When should you contact support?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Wenn eine Datei oder ein Verzeichnis trotz plausibler Berechtigungen nicht gelesen oder beschrieben werden kann, sollte die Ursache genauer untersucht werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr die Analyse sind insbesondere folgende Angaben hilfreich:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>affected domain<\/li>\n\n\n\n<li>vollst\u00e4ndiger Dateipfad beziehungsweise Verzeichnispfad<\/li>\n\n\n\n<li>aktuelle Berechtigung<\/li>\n\n\n\n<li>welche Aktion nicht funktioniert<\/li>\n\n\n\n<li>welche Berechtigungen bereits getestet wurden<\/li>\n\n\n\n<li>exact error message<\/li>\n\n\n\n<li>ob das Problem nach einem Upload, Update oder einer anderen \u00c4nderung aufgetreten ist<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Teile keine Passw\u00f6rter oder andere Zugangsdaten innerhalb einer normalen Fehlerbeschreibung mit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Dateiberechtigungen steuern, welche Zugriffe auf Dateien und Verzeichnisse erlaubt sind. Dabei werden Rechte f\u00fcr <strong>Owner<\/strong>, <strong>Group<\/strong> and <strong>Others<\/strong> unterschieden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Die Werte <code>644<\/code> f\u00fcr normale Dateien und <code>755<\/code> f\u00fcr normale Verzeichnisse sind bei vielen Webhosting-Konfigurationen \u00fcblich. Sie sind jedoch keine universelle Regel f\u00fcr jede Datei und jede Anwendung.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Im CURIAWEB-cPanel kannst du Berechtigungen \u00fcber <strong>Files \u2192 File Manager<\/strong> kontrollieren und bei Bedarf gezielt \u00e4ndern.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Verwende <code>777<\/code> nicht als pauschale L\u00f6sung f\u00fcr Schreib- oder Zugriffsprobleme. Wenn eine Anwendung nur mit extrem weitreichenden Rechten funktioniert, sollte die eigentliche Ursache untersucht werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c4ndere bei der Fehlersuche m\u00f6glichst nur einen Wert gleichzeitig, teste anschlie\u00dfend die betroffene Funktion und dokumentiere den urspr\u00fcnglichen Zustand. So kannst du \u00c4nderungen bei Bedarf gezielt r\u00fcckg\u00e4ngig machen.<\/p>","protected":false},"excerpt":{"rendered":"<p>Dateiberechtigungen bestimmen auf einem Webserver, wer eine Datei oder ein Verzeichnis lesen, ver\u00e4ndern oder ausf\u00fchren beziehungsweise betreten darf. Falsch gesetzte Berechtigungen k\u00f6nnen dazu f\u00fchren, dass eine Website nicht funktioniert, Dateien nicht geschrieben werden k\u00f6nnen oder unn\u00f6tige Sicherheitsrisiken entstehen. Bei vielen Websites begegnen dir deshalb Berechtigungen wie 644 f\u00fcr Dateien und 755 f\u00fcr Verzeichnisse. In dieser [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_joinchat":[],"footnotes":""},"doc_category":[78],"doc_tag":[],"class_list":["post-22542","docs","type-docs","status-publish","hentry","doc_category-webhosting-cpanel"],"year_month":"2026-09","word_count":2543,"total_views":"5","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Silvio Mazenauer","author_nicename":"admin-curia","author_url":"https:\/\/www.curiaweb.ch\/en\/author\/admin-curia\/"},"doc_category_info":[{"term_name":"Webhosting &amp; cPanel","term_url":"https:\/\/www.curiaweb.ch\/en\/hilfe-kategorie\/webhosting-cpanel\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.curiaweb.ch\/en\/wp-json\/wp\/v2\/docs\/22542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.curiaweb.ch\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.curiaweb.ch\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.curiaweb.ch\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.curiaweb.ch\/en\/wp-json\/wp\/v2\/comments?post=22542"}],"version-history":[{"count":1,"href":"https:\/\/www.curiaweb.ch\/en\/wp-json\/wp\/v2\/docs\/22542\/revisions"}],"predecessor-version":[{"id":22544,"href":"https:\/\/www.curiaweb.ch\/en\/wp-json\/wp\/v2\/docs\/22542\/revisions\/22544"}],"wp:attachment":[{"href":"https:\/\/www.curiaweb.ch\/en\/wp-json\/wp\/v2\/media?parent=22542"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.curiaweb.ch\/en\/wp-json\/wp\/v2\/doc_category?post=22542"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.curiaweb.ch\/en\/wp-json\/wp\/v2\/doc_tag?post=22542"}],"curies":[{"name":"WP","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}