Thanks Ivan. 
For a novice lesson, it seems using && would be an unnecessary obfuscation? 
I'd be inclined to either do separate cd then cd Desktop or else cd ~/Desktop 
if that is supposed to make sense to them at this point. 

> On Jun 2, 2016, at 16:35, Ivan Gonzalez <[email protected]> wrote:
> 
> Yep, it should be added to the "Getting ready" section, similarly to what we 
> do in the rest of the lessons. I've just filed an issue [1].
> 
> In the meantime, as others said, the best is doing:
> 
> $ cd && cd Desktop 
> $ mkdir planets
> 
> instead of just:
>  
> $ mkdir planets
> 
> This changes first to the home directory and then to the Desktop, and works 
> in all OS (in fact, we do this in all lessons, but somehow forgot to add it 
> here...)
> 
> Best,
> 
> Ivan
> 
> [1] https://github.com/swcarpentry/git-novice/issues/275
> 
> 
>> On Thu, Jun 2, 2016 at 7:18 PM, Steve Haddock <[email protected]> wrote:
>> What directory were you in when you were trying the mkdir command? (I.e., 
>> the output of pwd). The fact that ~/planets worked suggests you were 
>> somewhere you shouldn't be, so maybe a cd step needs to be added to the 
>> tutorial?
>> 
>> -Steve 
>> 
>>> On Jun 2, 2016, at 10:46, Tyler Richards <[email protected]> wrote:
>>> 
>>> Hey all,
>>> 
>>> I'm working on the git tutorial, and when I try to create directories using 
>>> $ mkdir planets
>>> but it says 'cannot create directory 'planets': permission denied
>>> 
>>> then I tried 
>>> $ sudo mkdir planets
>>> and the same issue came up. Any idea how to fix? I found a temporary 
>>> solution using 
>>> $ mkdir ~/planets 
>>> but would like to know if anyone knows a more permanent solution.
>>> 
>>> 
>>> best,
>>> 
>>> -- 
>>> Tyler Richards
>>> [email protected]  | Linkedin | Twitter |
>>> _______________________________________________
>>> Discuss mailing list
>>> [email protected]
>>> http://lists.software-carpentry.org/listinfo/discuss
>> 
>> _______________________________________________
>> Discuss mailing list
>> [email protected]
>> http://lists.software-carpentry.org/listinfo/discuss
> 
> _______________________________________________
> Discuss mailing list
> [email protected]
> http://lists.software-carpentry.org/listinfo/discuss
_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/listinfo/discuss

Reply via email to