Results 1 to 2 of 2

Thread: Setting Linux File Permissions

  1. #1
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default Setting Linux File Permissions

    Here is some basic help on setting file permissions.

    Files, and directories, used by aeDating require correct permissions to allow aeDating to work.

    For example, if you wish to edit your lang file from the aeDating Admin Panel, you should set the permissions on lang-XXXX.php to 777.

    chmod values, and resulting permissions
    777 -rwxrwxrwx
    766 -rwx-rw-rw
    755 -rwx-r-xr-x
    774 -rwxrwxr--
    740 -rwx-r-----
    700 -rwx------
    400 -r--------


    SSH/Telnet
    For example, to change the permissions on the aeDating language file named lang-English.php so that everyone could read, write, and execute the file, you would first change to that directory:

    cd /home/aedating/langs << this is an example, it will be different on your site
    and then type:
    chmod 777 lang-English.php

    DirectAdmin / Cpanel
    Login to your control panel, and then click on "File Manager". Browse to your lang directory, and click on the language file (lang-English.php). Then choose "Permissions" from the menu, and choose the permissions you desire.
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

  2. #2
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,634
    Blog Entries
    5

    Default

    If your AEdating is installed on a shared server, you may wish to consider checking your file permissions, and making sure your script files are not globally writable.

    On a unix/linux server, this would involve using 'chmod' to alter the file permissions for all .php, .htm and .asp files to 644.

    File permissions can be set via most FTP clients, or if you have SSH access to your server, you can use the following commands:

    Code:
    cd /path/to/your/AEdating
    chmod -R 644 *.php
    chmod -R 644 *.css
    chmod -R 644 *.html
    chmod -R 644 *.js
    Remember, some of the files in AEdating require write permissions for some functions to work correctly - like your lang-English.php file, if you wish to be able to edit it from your admin panel (not recommended anyways), if you want to edit your style sheets (.css) from the admin panel), and in some cases, your header.inc.php (if you change your template from the admin panel).

    Smoge
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Alpha Build 17 File/Folder Permissions
    By Smoge in forum Boonex Dolphin 7
    Replies: 0
    Last Post: 06-17-2009, 10:33 PM
  2. File Permissions
    By Smoge in forum Dolphin General Discussion v6.00 and above
    Replies: 0
    Last Post: 09-02-2007, 06:16 AM
  3. Skype On Linux
    By Smoge in forum Computer Talk
    Replies: 1
    Last Post: 03-04-2007, 12:00 PM
  4. Add FTP Only Account To Linux
    By Smoge in forum Security / Server Administration
    Replies: 0
    Last Post: 11-11-2005, 05:26 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •