-bash: cd: /cygdrive/j/tri60/220-1116c_1.993: No such file or directory

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

-bash: cd: /cygdrive/j/tri60/220-1116c_1.993: No such file or directory

Cygwin list mailing list
Details in attached file



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

strange.txt (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: -bash: cd: /cygdrive/j/tri60/220-1116c_1.993: No such file or directory

marco atzeri-4
Am 02.03.2020 um 21:17 schrieb Robert McBroom via cygwin:
> Details in attached file
>

better in line next time.

Are you sure that the disk J is mounted in a Administrator account ?

Regards
Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply | Threaded
Open this post in threaded view
|

Re: -bash: cd: /cygdrive/j/tri60/220-1116c_1.993: No such file or directory

Brian Inglis
In reply to this post by Cygwin list mailing list
On 2020-03-02 13:17, Robert McBroom via cygwin wrote:
> #!/bin/bash
>            cd /cygdrive/j/tri60/221-1344c_1.642
>                                                /home/xxx/grd.sh: line 2: cd: /cygdrive/j/tri60/221-
> 1344c_1.642: No such file or directory
>                                       mcnp62.sh 221-1344c.mas3.71 221-1344c.mas3.83a.s

Any time I see stair stepped output, I suspect Windows code reading Unix text
without CRs:

#!/bin/bash
           cd /cygdrive/j/tri60/221-1344c_1.642
                                               /home/xxx/grd.sh: line 2: cd:
/cygdrive/j/tri60/221-
1344c_1.642: No such file or directory
                                      mcnp62.sh 221-1344c.mas3.71
221-1344c.mas3.83a.s

Please check your script line terminators by running file on them, where your
PATH points, and if you are running a non-Cygwin Windows executable by running
type PROG, which -a PROG, cygcheck on the full explicit executable path, and
that cygwin1.dll is listed in the output.

You may also see the opposite effect, running Cygwin on \r\n terminated scripts,
where cd dir\r fails.

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply | Threaded
Open this post in threaded view
|

Re: -bash: cd: /cygdrive/j/tri60/220-1116c_1.993: No such file or directory

Robert McBroom
In reply to this post by marco atzeri-4
On 3/2/20 3:53 PM, Marco Atzeri wrote:

> Am 02.03.2020 um 21:17 schrieb Robert McBroom via cygwin:
>> Details in attached file
>>
>
> better in line next time.
>
> Are you sure that the disk J is mounted in a Administrator account ?
>
> Regards
> Marco
USB drive Windows mounted on login. emacs shows the owner as whoever is
looking at the drive. I don't know what the "s" in the directory
permissions means.  Played with changes to no effect.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple