[Ilugc] One Day One GNU/Linux Command (CHOWN)

  • From: balu.manyam@xxxxxxxxx (Balu manyam)
  • Date: Wed Jun 18 21:02:56 2008

On Wed, Jun 18, 2008 at 10:45 AM, Arun Khan <knura@xxxxxxxxx> wrote:

On Wednesday 18 Jun 2008, Arun Khan wrote:

$ cd /home; chown -R usr1: usr1

Oops.  should be

       # cd /home; chown -R usr1: usr1

--
Arun Khan


if i recall correctly one needs to be careful with -R flag as if the dir
contains symlinks chown -R may follow the symlink ? --  '-RH ' may prevent
this happenining

Other related posts: