People,
On F25 x86_64 as user "fedora" with default environment I get:
grep Cock application.html.erb
Provider for the National Disability Insurance Trial Site in Kwinana/ Cockburn</a>
grep Cock *
grep: *: No such file or directory
grep Cock a*
grep: a*: No such file or directory
grep Cock *erb
grep: *erb: No such file or directory
The same commands for root work as expected . . but I cannot see anything in .bash[rc | _profile] that would make a difference - I can send the diffs if people think I am missing something . .
Any ideas?
Thanks,
Phil.
On 2016-10-02 21:15, Philip Rhoades wrote:
People,
On F25 x86_64 as user "fedora" with default environment I get:
Actually it is F20 x86_64 - I forgot I was on a VM!
grep Cock application.html.erb
Provider for the National Disability Insurance Trial Site in Kwinana/ Cockburn</a>
grep Cock *
grep: *: No such file or directory
grep Cock a*
grep: a*: No such file or directory
grep Cock *erb
grep: *erb: No such file or directory
The same commands for root work as expected . . but I cannot see anything in .bash[rc | _profile] that would make a difference - I can send the diffs if people think I am missing something . .
Any ideas?
Thanks,
Phil.
On Sun, 2016-10-02 at 21:17 +1100, Philip Rhoades wrote:
On F25 x86_64 as user "fedora" with default environment I get:
Actually it is F20 x86_64 - I forgot I was on a VM!
F20 is EOLed and F25 is unreleased. If it happens in F23 or F24 then this would be the place to discuss it.
poc
On Sun, Oct 02, 2016 at 09:15:36PM +1100, Philip Rhoades wrote:
On F25 x86_64 as user "fedora" with default environment I get:
grep Cock application.html.erb
Provider for the National Disability Insurance Trial Site in Kwinana/ Cockburn</a>
grep Cock *
grep: *: No such file or directory
grep Cock a*
grep: a*: No such file or directory
grep Cock *erb
grep: *erb: No such file or directory
The same commands for root work as expected . . but I cannot see anything in .bash[rc | _profile] that would make a difference - I can send the diffs if people think I am missing something . .
This isn't an issue with grep, but with your shell not expanding wildcards. If grep Cock *
gives you
grep: *: No such file or directory
then I'd expect
echo *
to give you
*
If indeed the shell isn't expanding wildcards (but does for root), then I'd suspect the directory isn't readable by the current user (i.e. it's --x or -wx rather than r-x or rwx).
Dave,
On 2016-10-02 23:10, Dave Mitchell wrote:
On Sun, Oct 02, 2016 at 09:15:36PM +1100, Philip Rhoades wrote:
On F25 x86_64 as user "fedora" with default environment I get:
grep Cock application.html.erb
Provider for the National Disability Insurance Trial Site in Kwinana/ Cockburn</a>
grep Cock *
grep: *: No such file or directory
grep Cock a*
grep: a*: No such file or directory
grep Cock *erb
grep: *erb: No such file or directory
The same commands for root work as expected . . but I cannot see anything in .bash[rc | _profile] that would make a difference - I can send the diffs if people think I am missing something . .
This isn't an issue with grep, but with your shell not expanding wildcards. If grep Cock *
gives you
grep: *: No such file or directorythen I'd expect
echo *to give you
*If indeed the shell isn't expanding wildcards (but does for root), then I'd suspect the directory isn't readable by the current user (i.e. it's --x or -wx rather than r-x or rwx).
Well I went back to have a look and the directory is indeed owned by Fedora:
drwxr-sr-x 2 fedora fedora 4096 Oct 2 21:00 .
but now all the greps work as expected! I'm not sure what is going on - on that remote VM I always log in as root via SSL and use:
su - fedora
to do things - but now everything is behaving properly . . I would prefer a problem still needing to be resolved than having no problem but not understanding what the temporary problem was . .
Thanks anyway,
Phil.