Re: [PATCH] Do _not_ call unlink on a directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Glanzmann wrote:
> and as you can see by the
> pastes that I provided to track down the bug I have
> 
>         if [ $UID -eq 0 ]; then
>                 export PS1="(${PROMPT_RED}\h${PROMPT_END}) [${PROMPT_BLUE}\w${PROMPT_END}] ";
>                 alias bk='echo DO *NOT* RUN BK AS ROOT'
>                 alias git='echo DO *NOT* RUN GIT AS ROOT'
>                 alias links='echo DO *NOT* RUN LINKS AS ROOT'
>                 alias elinks='echo DO *NOT* RUN ELINKS AS ROOT'

And if you have a file NOTES in $pwd, it will tell you:

DO NOTES RUN GIT AS ROOT

;-P

-- Hannes

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux