Just to note: in the example commands above, of course, /home needs to be write-accessible to the current user, or you need to use a command like "su root -c "echo test > /home/test".
Just to note: in the example commands above, of course, /home needs to be write-accessible to the current user, or you need to use a command like "su root -c "echo test > /home/test".