Dear Ivan, many thanks for your reply. I am actually trying to install the 'scan_tools' stack, which contains the package 'csm_install'. I tried two ways to install 'scan_tools' stack: 1. sudo apt-get install ros-diamondback-scan_tools This will return 'Coundn't find package ros-diamondback-scan_tools' 2. I follow the install instruction http://www.ros.org/wiki/scan_tools cd ~/ros/stacks git clone http://robotics.ccny.cuny.edu/git/ccny-ros-pkg.git cd ~/ros/stacks/ccny-ros-pkg rosmake scan_tools --rosdep-install This is where the 'csm_install fatal error' occurs. Besides, my stacks is under '/opt/ros/diamondback/stacks' instead of '~/ros/stacks'. It seems I do not have '~/ros' directory. Does this clarify my problem? Best regards. Thanks a lot. Jinqiang ________________________________ Message: 4 Date: Sat, 28 May 2011 07:53:40 -0400 From: Ivan Dryanovski Subject: Re: [ros-users] csm_install fatal error To: User discussions Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hm I just tested installing on my machine and it works. What terminal command causes the error that you're getting? My guess is that you're trying to install it somewhere where you need root permissions, like /opt/ros. If this is the case, you should install it in ~/ros instead. Let me know if that doesn't fix it. Ivan On Sat, May 28, 2011 at 5:14 AM, Cui Jinqiang wrote: > Dear all, > I was trying to install "scan_tools" when I always encounter the following > problem: > > git clone http://github.com/AndreaCensi/csm build/csm-git > fatal: could not create leading directories of 'build/csm-git': Permission > denied > > Could any one kindly help? > > Best regards. Thanks a lot. > > Jinqiang > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users