Linux Hints

  • Problem: Moving files into a web directory, even after changing permissions reporting a permission error when clicked on from web:
    • restorecon -r < path >
  • Adding a user to an existing group
    • usermod -a -G {group} (username}
  • Forcing all files in a folder to belong to a group:
    • chmod g+s dir
  • Ubuntu: setting your default shell:
    • chsh
    • then type the path to the shell you want, ex: /bin/bash

Comments


This topic: KnowledgeBase > LinuxHints
Topic revision: r3 - 2014-07-22 - TimMcDonald
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback