burger
infomaniak
infomaniak
  • Products
    • Our best-sellers
    • I would like
    • Domain name
    • Hosting and Cloud
    • kSuite
    • Backup & storage
    • Marketing
    • Ticket shop
    • Multimedia
    Our flagship products :
        Our current flagship products kSuite
      • kdrive kDrive
        Store, collaborate and share your files
      • mail service kMail
        The mailbox that respects your privacy
      • kChat kChat Coming soon
        Communicate live with your team
      • General public
      • Domain name Domain name
        Reserve your domain name at the best price
      • web hosting Web Hosting
        Create your websites (WordPress + 100 CMS)
      • web hosting Wordpress hosting
        Create your website easily with WordPress
      • Cloud Computing
      • Cloud Server Cloud Server
        Create your websites using dedicated resources
      • public cloud Public cloud
        High-Performance Cloud Infrastructure
      • jelastic cloud Jelastic Cloud (PaaS)
        Your custom development environments
      • swiss backup Swiss Backup
        Back up all your devices in Switzerland
      Quick actions
      Transfer a domain name Compare hosting offers Migrate email addresses Renewal Warranty Pay an invoice Guides and FAQs
      What would you like to do?
        Create a website
      • Create a site with WordPress
      • Create a website with CMS
      • Find a web agency to create my website
      • Compare hosting offers
        Manage my domain name
      • Transfer a domain
      • Transfer multiple domains
        Collaborate online
      • Create an email address
      • Store files online with kDrive
        Store my data
      • kDrive
      • Swiss Backup
      • Nas Synology
        Manage my organisation
      • Pay an invoice
      • Renew a product
      • Get Renewal Warranty
      • Become a partner
      • Become an affiliate
        All you need to ensure your presence on the internet.
      • Domain name Domain name
        Reserve your domain name at the best price
      • renewal warranty Renewal Warranty
        Secure your domains against loss and theft
      • Domain privacy Domain Privacy
        Protect your domains’ private data
      • DNS Fast Anycast FastAnycast DNS
        Boostez le temps d’acces de vos sites
      • SSL Certificat SSL certificates
        Secure your websites with an EV or DV certificate
      • Dyn DNS DynDNS
        Easily access your devices remotely
      Quick actions
      Transfer a domain name Launch a Whois search Compare domain prices Our tips
      Renew a domain name
        All you need for your sites, apps and email addresses. Web
      • web hosting Web Hosting
        Create your websites (WordPress + 100 CMS)
      • web hosting Wordpress hosting
        Create your website easily with WordPress
      • Cloud Server Cloud Server
        Create your websites using dedicated resources
      • High availibility Very High Availability
        Cloud infrastructure with custom SLA contract
      • Cloud Computing
      • Cloud Server Unmanaged Cloud Server
        Create a Windows / Linux server
      • public cloud Public Cloud (IaaS)
        High-Performance Cloud Infrastructure
      • jelastic cloud Jelastic Cloud (PaaS)
        Your custom development environments
      • swiss backup Swiss Backup
        Back up all your devices in Switzerland
      Quick actions
      All-in-one web + mail offer Renewal Warranty Guides and resources Renew a hosting
      Case studies
      Read article
        kSuite, the ethical collaborative solution
        Find all the applications you need to collaborate online.
        Discover the kSuite
        Included with kSuite
      • kdrive kDrive
        Store, collaborate and share your files
      • kpaste kPaste
        Share and encrypt your sensitive information
      • ksuite Custom Brand
        Control the brand image of your products
      • mail service kMail
        The mailbox that respects your privacy
      • swisstransfer SwissTransfer
        Send your files up to 50 GB free of charge.
      • kChat kChat Coming soon
        Communicate live with your team
      • kmeet kMeet
        Organise your meetings online in complete security
      Quick actions
      Migrate email addresses Import files from a different cloud Renewal Warranty Guides and FAQs Migrate from a different messaging service Renew
      Case studies
      Read article
        Backup and send your documents securely
      • swiss backup Swiss Backup
        Back up all your devices in Switzerland
      • kdrive kDrive
        Store, collaborate and share your files
      • nas synology Synology NAS
        Hire a NAS in Switzerland with a fixed IP
      Quick actions
      Why store data with Infomaniak? Renewal Warranty Guides and FAQs
      Renew
        Keep in touch and communicate easily with your audience
      • newsletter Newsletter
        Send your newsletters at favourable rates
      • Guest Manager Guest manager
        Manage invitations to your events easily
      Quick actions
      Guides and FAQs
      Buying credits
        Organise your events with an approved ticketing system
      • online shop Online shop
        Create your ticketing service and sell tickets.
      • Access Control Access Control
        Easily control access to your events.
      • events portal Events portal
        Promote and purchase your tickets.
      • Promote and sell your tickets
        Festival
        Concert
        Theatre
        Sport
        Museum exhibition
        Funny
        Family
        Leisure activities
      Quick actions
      Prices and FAQs Sales, printing and control equipment Log in to my ticketing service
      Case studies
      Read article
        Broadcast your programmes and videos on a large scale
      • Streaming radio Streaming radio
        Create your online radio and monetise your live content
      • streaming video Streaming Video
        Create your online TV and monetise your webcasts
      • VOD and AOD VOD & AOD service
        Host and monetise your videos and podcasts
      Quick actions
      Guides and FAQs
      Renew
    • About us
      • Vision and values Our vision, our commitments
      • The team The teams behind our products
      • Infomaniak and the environment Our environmental commitments
      • Infomaniak is recruiting Want to join us? Apply now!
      • Press and communication All our resources at your disposal
      • Blog & news Follow and share our news
      • Partners Search for or become an Infomaniak partner
      quote image

      Choosing infomaniak means being committed to the economy of tomorrow. Sustainable, social and local: infomaniak’s values for 25 years.

      Boris Siegenthaler, Co-Founder and CSO

      quote image

      We cannot save the world by complying with the current rules because the rules need to be changed. Everything must change and this needs to start today.

      Alexandre Patti, Energy Manager

      quote image

      Don’t come and work here... you’ll never be able to leave!

      Thibaut, front-end developer

      quote image

      Infomaniak is an independent company committed to ecology, a sustainable economy and a privacy-friendly internet. We design and develop our infrastructures and cloud solutions from start to finish.

      quote image

      The best place to follow the continuous development of our products and our ethical and ecological vision of digital transformation.

      Partner programme

      Benefit from our know-how and grow your clientele

      Become a partner →

      The Infomaniak partners

      Search among more than 1000 partners

      See the partners →

      Call for tenders

      Call on our partners to help you with your project

      Create a call for tenders →
    • Support
      • FAQs 1000 FAQs, 500 tutorials and instructional videos
      • Documentation for developers Free access to our APIs for your projects
      • Contact us Via chat, phone or email.
    • Price
      Updated price.
      All prices are now displayed excluding taxes All prices are now displayed including taxes
      Language
      • English
        • Français
        • Deutsch
        • Italiano
        • Español
      • EN
        • FR
        • DE
        • IT
        • ES
      Price
      Updated price.
      All prices are now displayed excluding taxes All prices are now displayed including taxes
    • Sign up
    • Sign in
      • Workspace

        Webmail, contacts, calendar

      • Manager

        Managing Infomaniak products

    Knowledge base

    1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!

    Knowledge base Changing access rights and managing permissions for a file or a directory

      Changing access rights and managing permissions for a file or a directory

      CHMOD (abbreviation for change mode) allows access permissions for a file or a directory to be changed.

      The rights (read at Wikipedia) available for each person/group are as follows:

      • read: grants permission to list (also requires the right to execute) and read from a directory and/or read a file
      • write: grants permission to create, modify, rename, delete files and/or directories
      • execute: for a directory: grants permission to traverse the directory in order to read its sub-directories -> For a file: grants permission to execute it if it is a program or a script, for example.
      • set uid (read at Wikipedia): on a file with execution rights, this will have the effect of executing it with the owner's rights if the execve or setuid system command is used
      • set gid (read at Wikipedia): all new files created will belong to the directory group and on a file with execution rights this will have the effect of executing it with group rights
      • sticky bit (read at Wikipedia): on a directory, the directory's files can be renamed or deleted only by the owner, even if other users are granted writing rights. Not very useful on these files.
      We recommend that you use our FTP File Manager which enables you to change file permissions (including those of /web).
      Most FTP software allows you to change access rights to files; the function is usually called "CHMOD" and is found in "Properties", "Permissions" or "Attributes" (usually with a right click on the file or folder you wish to change). Often you can tick an option that allows you to apply permissions recursively to all files and subdirectories in the folder.

      Once you have ticked the required permissions, OK them and all rights will be modified except those which you do not have permission to change or rather which the user you are logged in as does not have permission to change.Example with Filezilla:




      To find out more


      When talking about changing permissions, you might generally be asked to do a "chmod 777", "chmod 666" etc. This means you actually need to view these as three separate figures, where:


      • the first corresponds to the owner's rights
      • the second corresponds to group's rights
      • the third number corresponds to other users' rights.
      And rights are made up as follows:


      • "4" for read permission
      • "2" for write permission
      • "1" for execute permission
      Then simply add the numbers together. For example, if you want to grant all rights to the owner but no rights to the others, execute a "chmod 700" (4 + 2 + 1 = 7). If you wish to grant permissions for all users to read and write only (4 + 2 = 6), execute a "chmod 666".

      These values are recognised by any good FTP software, so you have the option of entering the number directly into your FTP client to change permissions.



      To modify permissions on PHP files or directories, you can also do so using the "chmod" function as in the following example:

      chmod ("/a_folder/a_file", 0755)
      Note that the value to use must be in octal, which is why the zero in front is compulsory. Be careful when storing the value in a variable, as you will run into an issue with data types. To get round this issue, you can use the octdec() function, as in the following example:


      $mode = 0755;chmod("/a_folder/a_file", octdec($mode))


      Link to this FAQ:
      Has this FAQ been helpful?
      Thank you for your feedback. Improve this FAQ?
      Please do not ask any questions through this form, it is only used to improve our FAQ.
      Please use our contact form for any question.
      Your message has been sent. Thank you for suggesting an improvement to this FAQ.
      Display all FAQs for this product

      Infomaniak

      About Infomaniak Infomaniak is recruiting Press and media Infomaniak blog All certificates

      Support

      Assistance 7/7 FAQ and guides API REST Report abuse

      Partnerships

      Become a reseller Affiliate programme Directory of partners Requests for quotes

      Ecology

      Green hosting Certificates & awards

      Follow our development

      The email entered is invalid

      icann-logo
      swiss
      new-iso
      swiss-hosting
      ©2023 Infomaniak - Legal documents - Legal notice - Data Protection - Privacy Policy - Site map
      facebook
      twitter
      linkedin
      instagram
      infomaniak-avatar
      facebook
      twitter
      linkedin
      instagram
      icann-logo
      swiss
      new-iso
      swiss-hosting

      Infomaniak

      About Infomaniak Infomaniak is recruiting Press and media Infomaniak blog All certificates

      Support

      Assistance 7/7 FAQ and guides API REST Report abuse

      Partnerships

      Become a reseller Affiliate programme Directory of partners Requests for quotes

      Ecology

      Green hosting Certificates & awards

      Follow our development

      The email entered is invalid
      icann-logo
      swiss
      new-iso
      swiss-hosting

      facebook
      twitter
      linkedin
      instagram
      ©2023 Infomaniak
      Contracts - Legal notice - Data Protection - Privacy Policy - Site map

      Managers

      Your browser is outdated, security and browsability are no longer guaranteed. We recommend that you update it as soon as possible by clicking here.