Hosted by

Announcement

Collapse
No announcement yet.

chmod recursive including chown & remove

Collapse

Ads

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • chmod recursive including chown & remove

    Set permissions on all directories under the folder server1 to 755

    Code:
    chmod -R 755 /usr/home/username/server1/
    Remove all data (file and directories) from the folder server1

    Code:
    rm -rf /usr/home/username/server1/*
    Set the user and group to example:example for all data (files and directories) on/under the directory accounts

    Code:
    chown -R example:example /home/username/public_html/test/accounts
    I hope that helps.
    Forums.Hosting - A Web Hosting Forum for consumers and Web Hosting related businesses

Ads

Collapse

Ads

Collapse
Working...
X