formats

Search for 777 Directories of Common Name

Search for 777 Directories of Common Name | With a simple find command, it is possible to locate similar named directories that are 777. I’ll show you how! This will identify public_html directories under /home that are 777: $ sudo find /home -name ‘public_html’ -type d -perm 777 Alter as desired, for example: $ sudo find /var/www/ -name ‘httpdocs’ -type d -perm 777

formats

Apache WordPress Drupal Website Permissions

Apache WordPress Drupal Website Permissions | Permissions on a Linux webserver is an often confusing topic but hopefully I can clear the mud. There may not be one right answer for all, but below are some suggested configurations! The following applies to WordPress, Drupal, or any similar application. Two concepts to hang on to: – In Linux there are users who

formats

Change sudo default password cache

Published on August 4, 2012, by + in linux, sysadmin.

Change sudo default password cache | sudo’s default password cache time is 5 minutes. To change the default time, it is possible to edit a setting in /etc/sudoers as desired. I’ll show you how! Edit /etc/sudoers with your desired text editor, or as standard with sudo visudo: $ sudo visudo For example, to increase the timeout to 30 minutes for user

formats

OS X: Files Skipping Trash And Deleting Immediately

Published on April 28, 2011, by + in osx.

OS X: Files Skipping Trash And Deleting Immediately | You may have seen this in OS X when trying to delete files: “This item will be deleted immediately. You can’t undo this action.” Deleting and recreating the .Trash directory will generally solve this. Here’s a quick guide! 1. Crack open a terminal: Applications > Utilities > Terminal 2. Next, remove the existing Trash directory

formats

Check Apache Permissions

Published on March 1, 2011, by + in linux, sysadmin.

Check Apache Permissions | How can I check Apache permissions for world writeable files or directories? You can use the find command to check for 777 (world writeable) directories and files. This command searches for directories that are 777 in /var/www/: sudo find /var/www/ -type d -perm -002 And this command searches for files that are 777 in /var/www/:

formats

Linux Permissions Calculator

Linux Permissions Calculator | This site is an awesome Linux / Unix Permissions Calculator. Check it out: http://permissions-calculator.org

Home Posts tagged "permissions"