title: Can anyone tell me how to grant a same set of permissions to every file and directory inside a directory on web host?
body: <p>I am using a web hosting (www.hosting.co.in) and a premium linux plan, i installed a wordpress website in the public root and started making a theme, now every time i add a component a resourcem or a file or a directory i have to change permissions for every one of them is there a better way to do this ? Can i do using .htaccess or should i use any other software?</p>
  
  <pre><code>my current .htaccess files contents are - 
  # BEGIN WordPress
  &lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  &lt;/IfModule&gt;
  
  # END WordPress
  </code></pre>