Contact

Call

Call us

Our support team is happy to help you, be it for technical or administrative issues. We’re there for you!

 

+43 (0)720 511 555

(Calls from the Austrian landline 0.25 EUR / minute)

 

Monday to Friday/Saturday1
9:00 am – 12:00 pm & 1:30 – 5:00 pm

1 Administration: Monday to Friday, technical support: Monday to Saturday

Write

Write to us

To be able to help you as quickly and effectively as possible, we kindly ask that you make your request as specific as possible. And of course you can contact us by email: support@hoststar.at

Correct directory and file permissions

Support > Hosting > File permissions

CHMOD (change mode) is a command-line program that lets you change file attributes such as file permissions.

There are three types of permissions that can be configured for files and scripts.

Description Explanation Permission codes
Read permissions: permission to read files (r as in read)
Write permissions: permission to make changes to files (w as in write)
Execute permissions: Permission to execute files (programs) (x as in execute)

 

Another way to use CHMOD is with numbers for assigning access permissions. Numbers in the octal system (0-7) are used for this.

Hoststar uses the following default permissions:

Directory Permission codes Octal system
Folder rwx r-x r-x 755
File rw- r-- r-- 644

Directory and file permissions and selected PHP settings

If you are having problems creating or uploading files with a content management system or other PHP script installed for your hosting account, check whether you are using PHP in FastCGI mode before you manually change any permissions. This saves you the trouble of having to manually change permissions in most cases.

File permissions for Perl scripts

Executing Perl scripts (.pl files) normally requires rwx r-x r-x (755) permissions.

After uploading via FTP, the permissions must therefore be changed manually. The following section explains how this works.

Change directory and file permissions from your FTP client

If you want to change the directory and file permissions in your FTP client to match the information shown above, follow these steps:

 

Cyberduck

  1. Right-click on the directory or file you want to change.
  2. Select «Info» and then click the «Permissions» tab.
  3. Configure the permissions according to the principle described above. If you want to use CHMOD code, you can use the «CHMOD calculator».

FileZilla

  1. Right-click on the directory or file you want to change.
  2. Select «File permissions...»
  3. Configure the permissions according to the principle described above. If you want to use CHMOD code, you can use the «CHMOD calculator».

WinSCP

  1. Right-click on the directory or file you want to change.
  2. Select «Properties».
  3. Under «Permissions», make changes according to the principles described above. If you want to use CHMOD code, you can use the «CHMOD calculator».

WS-FTP LE

  1. Right-click on the directory or file you want to change.
  2. Select «Properties».
  3. Configure the permissions according to the principle described above. If you want to use CHMOD code, you can use the «CHMOD calculator».

FTP Commander

FTP Commander does not allow you to change permissions.

Was this article helpful?