Advanced Linux

Command to change the permissions

Use below mentioned command to change the permissions

For files


find . -type f -exec chmod 644 {} \;


For Directories

find . -type d -exec chmod 755 {} \;

:)
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

1 comment:

Anonymous said...

Very nice and informative article. Please made such articles on new technologies too :)

27 April 2023 at 06:29

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

Blog Archive

  • ▼  13 (67)
    • ►  Aug (7)
    • ►  Jun (1)
    • ▼  May (27)
      • Apache Semaphore issue
      • Apache service issue - Module issues
      • Apache service issue - Unable to bind to port
      • Apache service issue Log file size
      • Whitelist Mod_security rules for a CPanel account
      • cPanel Shell commands
      • Useful commands
      • File permissions in cPanel accounts
      • Command to find the hacked files
      • Wordpress Blank page occuring when clicking on Per...
      • Mysql Connection
      • Traceroute
      • Iostat
      • How to clear /temp
      • Socket and Port
      • Basic cPanel Details
      • exiqgrep & exigrep
      • Shell
      • Exim Commands
      • How to create CSR for SSL Installation
      • Change HTTPD port number
      • Add multiple Webmail Interfaces in Plesk
      • Multiple PHP versions in the cPanel server
      • Wordpress Sample index page
      • Mysql Commands
      • Command to change the permissions
      • Command to find Symbolic links
    • ►  Apr (10)
    • ►  Mar (8)
    • ►  Feb (14)
  • ►  12 (2)
    • ►  Nov (2)

Popular Posts

  • Useful commands
  • /etc/hosts entry
  • Traceroute
  • exiqgrep & exigrep
  • Backup using /scripts/pkgacct and Restoring
Travel theme. Powered by Blogger.