Date: Thu, 15 Jul 2021 20:37:53 -0700 From: David Christensen <dpchrist@holgerdanske.com> To: freebsd-questions@freebsd.org Subject: Re: no such file or directory Message-ID: <a91dea1d-7168-ba66-3364-6811de44694a@holgerdanske.com> In-Reply-To: <bf3d428036d93.60f0b9f6@videotron.ca> References: <bf3d428036d93.60f0b9f6@videotron.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/15/21 7:43 PM, pkagan@videotron.ca wrote: > Hello I get the following error: no such file or directory when I try to copy files over from one directory to another... > > > > root@:/usr/local/news/samples/feeder+reader # realpath dserver.hosts > /usr/local/news/samples/feeder+reader/dserver.hosts > root@:/usr/local/news/samples/feeder+reader # ls -l > total 62 > -rw-r--r-- 1 news news 430 Jul 2 18:26 README > -rw-r--r-- 1 news news 3047 Jul 2 18:26 dactive.kp > -rw-r--r-- 1 news news 39985 Jul 2 18:26 dcontrol.ctl > -rw-r--r-- 1 news news 2590 Jul 2 18:26 dexpire.ctl > -rw-r--r-- 1 news news 1132 Jul 2 18:26 diablo.config > -rw-r--r-- 1 news news 470 Jul 2 18:26 distrib.pats > -rw-r--r-- 1 news news 551 Jul 2 18:26 dnewsfeeds > -rw-r--r-- 1 news news 415 Jul 2 18:26 dreader.access > -rw-r--r-- 1 news news 134 Jul 2 18:26 dserver.hosts > -rw-r--r-- 1 news news 961 Jul 2 18:26 dspool.ctl > -rw-r--r-- 1 news news 1930 Jul 2 18:26 moderators > root@:/usr/local/news/samples/feeder+reader # chmod 755 *.* > root@:/usr/local/news/samples/feeder+reader # ls > README dexpire.ctl dnewsfeeds dspool.ctl > dactive.kp diablo.config dreader.access moderators > dcontrol.ctl distrib.pats dserver.hosts > root@:/usr/local/news/samples/feeder+reader # cp *.* /usr/local/news > cp: /usr/local/news/dactive.kp: No such file or directory > cp: /usr/local/news/dcontrol.ctl: No such file or directory > cp: /usr/local/news/dexpire.ctl: No such file or directory > cp: /usr/local/news/diablo.config: No such file or directory > cp: /usr/local/news/distrib.pats: No such file or directory > cp: /usr/local/news/dreader.access: No such file or directory > cp: /usr/local/news/dserver.hosts: No such file or directory > cp: /usr/local/news/dspool.ctl: No such file or directory Please enter the following commands into a root terminal and copy and paste the console session into a reply: # freebsd-version; uname -a ; echo $SHELL # ls -l -a -d /usr/local/news # ls -l -a /usr/local/news/*.* # ls -l -a -d /usr/local/news/samples # ls -l -a -d /usr/local/news/samples/feeder+reader # ls -l -a /usr/local/news/samples/feeder+reader/*.* David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a91dea1d-7168-ba66-3364-6811de44694a>