Re: "ls -d" OK, but not "ls"

2021-06-25 Thread Vincent Lefevre
On 2021-06-23 22:47:40 +0200, Vincent Lefevre wrote: > On 2021-06-23 21:24:43 +0300, Andrei POPESCU wrote: > > Is this a new issue? > > I don't know. The machine had been reinstalled in January. But > since this reinstallation, I haven't tried to log in until today > (I was using it only via job s

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread Vincent Lefevre
On 2021-06-23 21:24:43 +0300, Andrei POPESCU wrote: > Is this a new issue? I don't know. The machine had been reinstalled in January. But since this reinstallation, I haven't tried to log in until today (I was using it only via job submissions). -- Vincent Lefèvre - Web:

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread Andrei POPESCU
On Mi, 23 iun 21, 16:43:51, Vincent Lefevre wrote: > On 2021-06-23 10:27:01 -0400, Greg Wooledge wrote: > > On Wed, Jun 23, 2021 at 03:59:51PM +0200, Vincent Lefevre wrote: > > > > $ ls /etc/systemd > > > ls: cannot open directory '/etc/systemd': No

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread Joe Pfeiffer
Vincent Lefevre writes: > On a Debian GNU/Linux 10 (buster) machine: > > $ ls -ld /etc/systemd > drwxr-xr-x 3 root root 0 2021-04-19 09:40:41 /etc/systemd > $ ls /etc/systemd > ls: cannot open directory '/etc/systemd': No such file or directory > > Any explana

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread Vincent Lefevre
On 2021-06-23 10:27:01 -0400, Greg Wooledge wrote: > On Wed, Jun 23, 2021 at 03:59:51PM +0200, Vincent Lefevre wrote: > > On a Debian GNU/Linux 10 (buster) machine: > > > > $ ls -ld /etc/systemd > > drwxr-xr-x 3 root root 0 2021-04-19 09:40:41 /etc/systemd > >

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread Nicolas George
Vincent Lefevre (12021-06-23): > And while I'm at it, "strace" gives: > > [...] > stat("/etc/systemd", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 > openat(AT_FDCWD, "/etc/systemd", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = > -1 ENOENT (No such file or directory) > [...] > > So, on the same d

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread Vincent Lefevre
On 2021-06-23 16:26:10 +0200, Vincent Lefevre wrote: > On 2021-06-23 10:11:57 -0400, The Wanderer wrote: > > It could be useful to check on this with other tools. For a start, what > > does > > > > $ stat /etc/systemd/ > > > > report? > > File: /etc/systemd/ > Size: 0 Blocks: 8

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread The Wanderer
On 2021-06-23 at 10:26, Vincent Lefevre wrote: > On 2021-06-23 10:11:57 -0400, The Wanderer wrote: > >> On 2021-06-23 at 09:59, Vincent Lefevre wrote: >> >>> On a Debian GNU/Linux 10 (buster) machine: >>> >>> $ ls -ld /etc/systemd >>> drw

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread Greg Wooledge
On Wed, Jun 23, 2021 at 03:59:51PM +0200, Vincent Lefevre wrote: > On a Debian GNU/Linux 10 (buster) machine: > > $ ls -ld /etc/systemd > drwxr-xr-x 3 root root 0 2021-04-19 09:40:41 /etc/systemd The "0" here is suspicious, and would be an indicator of wrongness if this

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread Vincent Lefevre
On 2021-06-23 10:11:57 -0400, The Wanderer wrote: > On 2021-06-23 at 09:59, Vincent Lefevre wrote: > > > On a Debian GNU/Linux 10 (buster) machine: > > > > $ ls -ld /etc/systemd > > drwxr-xr-x 3 root root 0 2021-04-19 09:40:41 /etc/systemd > > $ ls /etc/s

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread Vincent Lefevre
On 2021-06-23 10:02:01 -0400, Roberto C. Sánchez wrote: > Is the result the same if you specify /bin/ls? Yes: $ /bin/ls /etc/systemd /bin/ls: cannot open directory '/etc/systemd': No such file or directory > I am wondering if 'ls' might be an alias in your shell wi

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread Roberto C . Sánchez
On Wed, Jun 23, 2021 at 03:59:51PM +0200, Vincent Lefevre wrote: > On a Debian GNU/Linux 10 (buster) machine: > > $ ls -ld /etc/systemd > drwxr-xr-x 3 root root 0 2021-04-19 09:40:41 /etc/systemd > $ ls /etc/systemd > ls: cannot open directory '/etc/systemd': No suc

Re: "ls -d" OK, but not "ls"

2021-06-23 Thread The Wanderer
On 2021-06-23 at 09:59, Vincent Lefevre wrote: > On a Debian GNU/Linux 10 (buster) machine: > > $ ls -ld /etc/systemd > drwxr-xr-x 3 root root 0 2021-04-19 09:40:41 /etc/systemd > $ ls /etc/systemd > ls: cannot open directory '/etc/systemd': No such file or directory

"ls -d" OK, but not "ls"

2021-06-23 Thread Vincent Lefevre
On a Debian GNU/Linux 10 (buster) machine: $ ls -ld /etc/systemd drwxr-xr-x 3 root root 0 2021-04-19 09:40:41 /etc/systemd $ ls /etc/systemd ls: cannot open directory '/etc/systemd': No such file or directory Any explanation??? -- Vincent Lefèvre - Web: <https://www.vin

Re: ls -la sort order

2018-10-03 Thread Lee
used to that. I'm just a bit concerned >> that setting LC_COLLATE=C is going to break something & I'll have a >> heck of a time figuring out it was because I changed the sort order. >> > > Call me old school, but I have LC_COLLATE=C in every shell profile on > every machine that I use. I find that sorting is most important to me > at the shell prompt (and usually when using ls). There has never been > instance where I encountered an oddity that I even suspected related to > my choice of LC_COLLATE. Good to know! Thank you Lee

Re: ls -la sort order

2018-10-03 Thread Roberto C . Sánchez
y machine that I use. I find that sorting is most important to me at the shell prompt (and usually when using ls). There has never been instance where I encountered an oddity that I even suspected related to my choice of LC_COLLATE. Regards, -Roberto -- Roberto C. Sánchez

Re: ls -la sort order

2018-10-03 Thread Greg Wooledge
On Wed, Oct 03, 2018 at 01:51:54PM -0400, Lee wrote: > I don't think I'll ever get used to that. I'm just a bit concerned > that setting LC_COLLATE=C is going to break something & I'll have a > heck of a time figuring out it was because I changed the sort order. As a user, it's your prerogative t

Re: ls -la sort order

2018-10-03 Thread Lee
On 10/3/18, Roberto C. Sánchez wrote: > On Wed, Oct 03, 2018 at 12:31:01PM -0400, Lee wrote: >> >> interesting... I get different results for 'ls [D-M]*' if LC_COLLATE=C >> or LC_COLLATE=en_US.utf8 >> > Think of it this way: > > en_US.utf8 ->

Re: ls -la sort order

2018-10-03 Thread Roberto C . Sánchez
On Wed, Oct 03, 2018 at 12:31:01PM -0400, Lee wrote: > > interesting... I get different results for 'ls [D-M]*' if LC_COLLATE=C > or LC_COLLATE=en_US.utf8 > Think of it this way: en_US.utf8 -> sort in alphabetical order C -> sort in ASCII-betical order In ASCII

Re: ls -la sort order

2018-10-03 Thread Greg Wooledge
On Wed, Oct 03, 2018 at 12:31:01PM -0400, Lee wrote: > I'm guessing no since I don't know how to create a filename with a > non-ascii character :) This may/may not apply to you, but someone reading the archives may be interested: In X, you can type characters that are a superset of what's on your

Re: ls -la sort order

2018-10-03 Thread Lee
On 10/3/18, Greg Wooledge wrote: > On Wed, Oct 03, 2018 at 11:07:04AM -0400, Lee wrote: >> I can fix the problem by aliasing ls to 'LC_COLLATE=C ls' but that >> seems klunky and would only fix ls (and not break anything else). How >> bad of an idea would it be to

Re: ls -la sort order

2018-10-03 Thread Greg Wooledge
On Wed, Oct 03, 2018 at 11:07:04AM -0400, Lee wrote: > I can fix the problem by aliasing ls to 'LC_COLLATE=C ls' but that > seems klunky and would only fix ls (and not break anything else). How > bad of an idea would it be to set > LC_COLLATE=C > in my .bashrc or is th

ls -la sort order

2018-10-03 Thread Lee
I really don't like that 'ls -la' seems to ignore a leading dot when sorting files for display - eg. in terminal I'll get old Pictures .profile Public I haven't changed any settings yet; I've still got LANG=en_US.utf8 I can fix the problem by aliasing ls

Re: question about ls

2018-10-03 Thread Greg Wooledge
On Wed, Oct 03, 2018 at 12:01:02PM +, Virgo Pärna wrote: > On Thu, 27 Sep 2018 09:14:00 -0400, Greg Wooledge wrote: > > But also note that using ls -l gives a completely wrong answer. > > > > wooledg:~$ mkdir /tmp/x && cd "$_" > > wooledg:/tmp/x$

Re: question about ls

2018-10-03 Thread Virgo Pärna
On Thu, 27 Sep 2018 09:14:00 -0400, Greg Wooledge wrote: > But also note that using ls -l gives a completely wrong answer. > > wooledg:~$ mkdir /tmp/x && cd "$_" > wooledg:/tmp/x$ touch $'this\nis\none\nfile' > wooledg:/tmp/x$ ls -l | wc -l > 5 >

Re: question about ls

2018-09-28 Thread Richard Hector
On 29/09/18 12:21 AM, Greg Wooledge wrote: > On Fri, Sep 28, 2018 at 09:06:59AM +0200, Ionel Mugurel Ciobîcă wrote: >> On 28-09-2018, at 17h 52'07", Richard Hector wrote about "Re: question about >> ls" >>> Eww. Tab completion also gets screwed u

Re: question about ls

2018-09-28 Thread Greg Wooledge
On Fri, Sep 28, 2018 at 09:06:59AM +0200, Ionel Mugurel Ciobîcă wrote: > On 28-09-2018, at 17h 52'07", Richard Hector wrote about "Re: question about > ls" > > Eww. Tab completion also gets screwed up by this: > > > > richard@zircon:~/test$ rm >

Re: question about ls

2018-09-28 Thread Michael Stone
On Fri, Sep 28, 2018 at 08:58:05AM +0200, to...@tuxteam.de wrote: ls should be considered a user interface, not an API. One should strive to minimize these differences, though. This is, of course, just my opinion, but you can pry... (you know the rest ;-) Sure you can--you use find. There

Re: question about ls

2018-09-28 Thread Ionel Mugurel Ciobîcă
On 28-09-2018, at 17h 52'07", Richard Hector wrote about "Re: question about ls" > > Eww. Tab completion also gets screwed up by this: > > richard@zircon:~/test$ rm > file isone this > > .. but you can't actually complete from any of thos

Re: question about ls

2018-09-27 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 27, 2018 at 11:03:29AM -0400, Michael Stone wrote: [...] > ls should be considered a user interface, not an API. One should strive to minimize these differences, though. This is, of course, just my opinion, but you can pry... (you k

Re: question about ls

2018-09-27 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Sep 27, 2018 at 09:59:58AM -0400, Greg Wooledge wrote: > On Thu, Sep 27, 2018 at 08:53:28AM -0500, David Wright wrote: > > On Thu 27 Sep 2018 at 07:55:56 (-0500), Kent West wrote: > > > westk@westkbox:/opt$ ls -la | wc &g

Re: question about ls

2018-09-27 Thread Richard Hector
On 28/09/18 1:14 AM, Greg Wooledge wrote: > On Thu, Sep 27, 2018 at 07:55:56AM -0500, Kent West wrote: >> But also note the difference when using the letter "l" vs the numeral "1": >> >> westk@westkbox:/opt$ ls -la | wc >> 7 56 32

Re: question about ls

2018-09-27 Thread Greg Wooledge
On Thu, Sep 27, 2018 at 10:57:56AM -0400, Gene Heskett wrote: > On Thursday 27 September 2018 08:31:27 Greg Wooledge wrote: > > > On Tue, Sep 25, 2018 at 10:27:03PM +, Long Wind wrote: > > > can ls show number of items in a folder?Thanks! > > > > https:

Re: question about ls

2018-09-27 Thread Michael Stone
-starter -- unless of course the stream uses NUL delimiters instead of newlines. Sadly, the GNU coreutils maintainers have rejected every request, even requests with patches attached, to add a --null option to ls. So, ls is not suited to this task. Correct, find would be a better choice for

Re: question about ls

2018-09-27 Thread Gene Heskett
On Thursday 27 September 2018 08:31:27 Greg Wooledge wrote: > On Tue, Sep 25, 2018 at 10:27:03PM +, Long Wind wrote: > > can ls show number of items in a folder?Thanks! > > https://mywiki.wooledge.org/BashFAQ/004 And finally, an "ls -l|wc -l" from the cli gives th

Re: question about ls

2018-09-27 Thread David Wright
On Thu 27 Sep 2018 at 09:59:58 (-0400), Greg Wooledge wrote: > On Thu, Sep 27, 2018 at 08:53:28AM -0500, David Wright wrote: > > On Thu 27 Sep 2018 at 07:55:56 (-0500), Kent West wrote: > > > westk@westkbox:/opt$ ls -la | wc > > > 7 56 321 > > &

Re: question about ls

2018-09-27 Thread Greg Wooledge
On Thu, Sep 27, 2018 at 08:53:28AM -0500, David Wright wrote: > On Thu 27 Sep 2018 at 07:55:56 (-0500), Kent West wrote: > > westk@westkbox:/opt$ ls -la | wc > > 7 56 321 > > westk@westkbox:/opt$ ls -1a | wc > > 6 6 54 > > But do us

Re: question about ls

2018-09-27 Thread David Wright
On Thu 27 Sep 2018 at 07:55:56 (-0500), Kent West wrote: > On Tue, Sep 25, 2018 at 6:14 PM Ben Caradoc-Davies wrote: > > > On 26/09/2018 10:55, Long Wind wrote: > > > sorry! you're right. > > > after checking ls manual, i find ls has option -1 > > >

Re: question about ls

2018-09-27 Thread Greg Wooledge
On Thu, Sep 27, 2018 at 07:55:56AM -0500, Kent West wrote: > But also note the difference when using the letter "l" vs the numeral "1": > > westk@westkbox:/opt$ ls -la | wc > 7 56 321 > westk@westkbox:/opt$ ls -1a | wc > 6 6 54

Re: question about ls

2018-09-27 Thread Kent West
On Tue, Sep 25, 2018 at 6:14 PM Ben Caradoc-Davies wrote: > On 26/09/2018 10:55, Long Wind wrote: > > sorry! you're right. > > after checking ls manual, i find ls has option -1 > > Note also that ls will behave like it has the "-1" option if its output > is

Re: question about ls

2018-09-27 Thread Greg Wooledge
On Tue, Sep 25, 2018 at 10:27:03PM +, Long Wind wrote: > can ls show number of items in a folder?Thanks! https://mywiki.wooledge.org/BashFAQ/004

Re: question about ls

2018-09-25 Thread Ben Caradoc-Davies
On 26/09/2018 10:55, Long Wind wrote: sorry! you're right. after checking ls manual, i find ls has option -1 Note also that ls will behave like it has the "-1" option if its output is piped to another command, even without this option. I like to use the "-1" option

Re: question about ls

2018-09-25 Thread Ben Caradoc-Davies
On 26/09/2018 10:27, Long Wind wrote: can ls show number of items in a folder?Thanks! I use: ls -1 | wc -l To include items whose names start with ".", add the "a" or "A" argument to ls ("man ls" for details). For more advanced searches (recursive

question about ls

2018-09-25 Thread Long Wind
can ls show number of items in a folder?Thanks! On Wednesday, September 26, 2018 4:51 AM, Gary Dale wrote: For the last few days, some Scribus documents I work with have stopped accepting PDF files within image frames. Prior to this, they would display a preview. Now new image frames

ls: cannot access '/sys/class/ieee80211/': No such file or directory

2017-04-30 Thread 郭文茂
Foundation 2.0 root hub root@kali:~# airmon-ng ls: cannot access '/sys/class/ieee80211/': No such file or directory PHY Interface Driver Chipset root@kali:~# airmon-ng check kill ls: cannot access '/sys/class/ieee80211/': No such file or directory Killing these pr

Re: ftp client's "ls" is "!ls"

2017-03-27 Thread Kent West
On Mon, Mar 27, 2017 at 6:48 AM, Greg Wooledge wrote: > On Sun, Mar 26, 2017 at 06:34:33PM -0500, Kent West wrote: > > The "ftp" client appears to be flakey, but the > > tnftp client seems to work well, with tab-completion and other commands > > performing as expected. (The ncftp client *almost*

Re: ftp client's "ls" is "!ls"

2017-03-27 Thread Greg Wooledge
On Sun, Mar 26, 2017 at 06:34:33PM -0500, Kent West wrote: > The "ftp" client appears to be flakey, but the > tnftp client seems to work well, with tab-completion and other commands > performing as expected. (The ncftp client *almost* works, but > tab-completion doesn't see the blah.tgz.manifest fi

Re: ftp client's "ls" is "!ls"

2017-03-26 Thread Kent West
: SHA1 > > > > > > On Fri, Mar 24, 2017 at 04:44:17PM -0500, Kent West wrote: > > > > I'm ftp'ing to a Dell/Quest K1000 System Management appliance, from a > > > > Debian 9.0 box, and when I execute the command "ls" or "del" or

Re: ftp client's "ls" is "!ls"

2017-03-26 Thread tomas
wrote: > > > I'm ftp'ing to a Dell/Quest K1000 System Management appliance, from a > > > Debian 9.0 box, and when I execute the command "ls" or "del" or do a > > > tab-completion, the commands act on the local directory instead of the > &

Re: ftp client's "ls" is "!ls"

2017-03-25 Thread Kent West
On Sat, Mar 25, 2017 at 2:02 AM, wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, Mar 24, 2017 at 04:44:17PM -0500, Kent West wrote: > > I'm ftp'ing to a Dell/Quest K1000 System Management appliance, from a > > Debian 9.0 box, and when I ex

Re: ftp client's "ls" is "!ls"

2017-03-25 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Mar 24, 2017 at 04:44:17PM -0500, Kent West wrote: > I'm ftp'ing to a Dell/Quest K1000 System Management appliance, from a > Debian 9.0 box, and when I execute the command "ls" or "del" or do a > tab-co

ftp client's "ls" is "!ls"

2017-03-24 Thread Kent West
I'm ftp'ing to a Dell/Quest K1000 System Management appliance, from a Debian 9.0 box, and when I execute the command "ls" or "del" or do a tab-completion, the commands act on the local directory instead of the remote, so that "ls" acts like "!ls".

Re: [Newbie] Can ls command format output my way?

2016-12-18 Thread emetib
> > This Vortex won't last long enough. it only feels like -40 f where i'm at. > Several of the responses I've received are opening my eyes to > what can be done with some straight forward (if not simple) shell > commands. the beauty of the cli em

Re: [Newbie] Can ls command format output my way?

2016-12-18 Thread Richard Owlett
On 12/17/2016 10:59 AM, David Wright wrote: On Sat 17 Dec 2016 at 17:57:26 (+0200), Lars Noodén wrote: On 12/17/2016 05:40 PM, Richard Owlett wrote: [...] I don't wish anything but full path to all files in a top level directory. Followup question how should I found the answer for myself. I lo

Re: [Newbie] Can ls command format output my way?

2016-12-17 Thread emetib
something else that you could use is 'locate' it's on most systems nowdays and it updates each night from cron. it's not as cpu intensive and you can update is quickly with 'updatedb'. if you're just searching removable media, as in your /media/... example then find would be better. i prefer

THANK YOU [Re: [Newbie] Can ls command format output my way?]

2016-12-17 Thread Richard Owlett
On 12/17/2016 9:40 AM, Richard Owlett wrote: ls -R /media/data produces the content but not the NEEDED format. I want a list like: /media/data/dir1/filea /media/data/dir1/fileb /media/data/dir1/subdir1/filex /media/data/dir1/subdir1/filey /media/data/dir1/subdir1/filez /media/data/dir2/filea

Re: [Newbie] Can ls command format output my way?

2016-12-17 Thread David Wright
On Sat 17 Dec 2016 at 17:57:26 (+0200), Lars Noodén wrote: > On 12/17/2016 05:40 PM, Richard Owlett wrote: > [...] > > I don't wish anything but full path to all files in a top level directory. > > > > Followup question how should I found the answer for myself. I looks > > basic enough ... > > TIA

Re: [Newbie] Can ls command format output my way?

2016-12-17 Thread Kushal Kumaran
Richard Owlett writes: > ls -R /media/data produces the content but not the NEEDED format. > > I want a list like: > /media/data/dir1/filea > /media/data/dir1/fileb > /media/data/dir1/subdir1/filex > /media/data/dir1/subdir1/filey > /media/data/dir1/subdir1/filez

Re: [Newbie] Can ls command format output my way?

2016-12-17 Thread Lars Noodén
On 12/17/2016 05:40 PM, Richard Owlett wrote: [...] > I don't wish anything but full path to all files in a top level directory. > > Followup question how should I found the answer for myself. I looks > basic enough ... > TIA One way would be to use find combined with realpath. find /med

Re: [Newbie] Can ls command format output my way?

2016-12-17 Thread The Wanderer
On 2016-12-17 at 10:40, Richard Owlett wrote: > ls -R /media/data produces the content but not the NEEDED format. > > I want a list like: > /media/data/dir1/filea > /media/data/dir1/fileb > /media/data/dir1/subdir1/filex > /media/data/dir1/subdir1/filey > /media/data/dir

[Newbie] Can ls command format output my way?

2016-12-17 Thread Richard Owlett
ls -R /media/data produces the content but not the NEEDED format. I want a list like: /media/data/dir1/filea /media/data/dir1/fileb /media/data/dir1/subdir1/filex /media/data/dir1/subdir1/filey /media/data/dir1/subdir1/filez /media/data/dir2/filea /media/data/dir2/fileb /media/data/dir2/subdir1

Re: ls -l / question in jessie

2016-11-28 Thread Brian
On Mon 28 Nov 2016 at 11:40:55 -0500, Greg Wooledge wrote: > On Mon, Nov 28, 2016 at 08:10:04AM -0800, emetib wrote: > > why do the sym links in ls -l / point to /boot/ and boot/ > > > > lrwxrwxrwx 1 root root31 Jun 3 10:34 initrd.img -> > > /boot/initrd.img

Re: ls -l / question in jessie

2016-11-28 Thread Greg Wooledge
On Mon, Nov 28, 2016 at 08:10:04AM -0800, emetib wrote: > why do the sym links in ls -l / point to /boot/ and boot/ > > lrwxrwxrwx 1 root root31 Jun 3 10:34 initrd.img -> > /boot/initrd.img-3.16.0-4-amd64 > lrwxrwxrwx 1 root root27 Jun 3 10:34 vmlinuz -> &g

ls -l / question in jessie

2016-11-28 Thread emetib
why do the sym links in ls -l / point to /boot/ and boot/ lrwxrwxrwx 1 root root31 Jun 3 10:34 initrd.img -> /boot/initrd.img-3.16.0-4-amd64 lrwxrwxrwx 1 root root27 Jun 3 10:34 vmlinuz -> boot/vmlinuz-3.16.0-4-amd64 is this just a fluke in the way that the two of them wer

Strange errors from SELinux when long listing directory (ls -l)

2015-03-23 Thread Marko Randjelovic
After I issue command "ls -l" in terminal, as normal user, one or more of this messages appear in syslog: mcstransd: Failed to get context of client process (pid=5390) mcstransd: Servicing of request failed for fd (5) When issue as root, nothing is logged. I notice nothing else re

jessie: samba/cifs ls rsync unusably slow (lstat)

2014-12-17 Thread christian weikusat
Dear all, after upgrading to jessie I have a serious problem with a cifs mounted Windows share: Directory listing is extremely slow. ls of a large directory can take several minutes, rsync comparison of directories (lstat call for every file) needs 30+ minutes (with wheezy: 23 seconds). I

Re: Handy ls: was Should I install chkrootkit?

2014-06-13 Thread Bob Holtzman
On Fri, Jun 13, 2014 at 09:45:21PM +0900, Joel Rees wrote: > On Fri, Jun 13, 2014 at 1:12 AM, Bob Holtzman wrote: > > On Thu, Jun 12, 2014 at 08:55:56PM +0900, Joel Rees wrote: > >> ls -lart /var/log > > > > Quote button broken? > > Posting in my sleep -- for

Re: Handy ls: was Should I install chkrootkit?

2014-06-13 Thread Joel Rees
On Fri, Jun 13, 2014 at 1:12 AM, Bob Holtzman wrote: > On Thu, Jun 12, 2014 at 08:55:56PM +0900, Joel Rees wrote: >> ls -lart /var/log > > Quote button broken? Posting in my sleep -- forgetting that the subject line is not always exactly visible. So: > Re: Handy ls: wa

Re: Handy ls: was Should I install chkrootkit?

2014-06-12 Thread Bob Holtzman
On Thu, Jun 12, 2014 at 08:55:56PM +0900, Joel Rees wrote: > ls -lart /var/log Quote button broken? -- Bob Holtzman A man is a man who will fight with a sword or tackle Mt Everest in snow, but the bravest of all owns a '34 Ford and tries for 6000 in low. signature.asc Description:

Re: Handy ls: was Should I install chkrootkit?

2014-06-12 Thread Joel Rees
ls -lart /var/log -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/caar43io9xjnx9m8a4e2psetplbbw5kmevdawd5zpms+xsag...@mail.gmail.com

Re: Handy ls: was Should I install chkrootkit?

2014-06-10 Thread Ralf Mardorf
On Tue, 2014-06-10 at 11:42 -0400, Steve Litt wrote: > to find those immense files that were put in the wrong places > (downloaded distros mostly) Obsessional neurotics like me don't need to care about such things. It's unlikely that we miss to care about deleting stuff that was randomly download

Handy ls: was Should I install chkrootkit?

2014-06-10 Thread Steve Litt
On Mon, 09 Jun 2014 01:35:15 +0200 Ralf Mardorf wrote: > On Mon, 2014-06-09 at 01:08 +0200, Filip wrote: > > $ ls -lA > > I recommend to add the h option. > > $ ls -hAl > > t or d sometimes are useful too, but by default I tend to use -hAl. > Mnemonic, HAL, res

Re: solved: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Tom Furie
On Mon, May 05, 2014 at 08:50:58AM +0900, Joel Rees wrote: > Although, if we wanted to get really crazy, we could say this is a bug in > the spec of ld. But if we go there, we have to acknowledge that the spec of > ld matches the general C/*nix run-time spec, so the bug is in ... (chasing > our se

Re: solved: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Joel Rees
On Mon, May 5, 2014 at 8:34 AM, Tom Furie wrote: > On Mon, May 05, 2014 at 06:44:30AM +0900, Joel Rees wrote: > > > Well, okay, we need to start somewhere, and, while we suspect ld, we > don't > > really know for sure. And we suspect that the actual fix may not end up > > being in ld. > > > > So,

Re: solved: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Tom Furie
On Mon, May 05, 2014 at 06:44:30AM +0900, Joel Rees wrote: > Well, okay, we need to start somewhere, and, while we suspect ld, we don't > really know for sure. And we suspect that the actual fix may not end up > being in ld. > > So, what is the name of the package that is trying to load libc6:i38

Re: solved: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Joel Rees
On Mon, May 5, 2014 at 6:44 AM, Joel Rees wrote: > > On Mon, May 5, 2014 at 5:07 AM, Tom Furie wrote: > >> On Sun, May 04, 2014 at 12:03:17PM -0400, Tom H wrote: >> >> > But installing libc6:i386 and a few others allows firefox to work: >> >> Meaning installing the :i386 versions of the librarie

Re: solved: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Joel Rees
On Mon, May 5, 2014 at 5:07 AM, Tom Furie wrote: > On Sun, May 04, 2014 at 12:03:17PM -0400, Tom H wrote: > > > But installing libc6:i386 and a few others allows firefox to work: > > Meaning installing the :i386 versions of the libraries was (part of) the > solution, not the problem. Any bug repo

Re: solved: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Tom Furie
On Sun, May 04, 2014 at 12:03:17PM -0400, Tom H wrote: > But installing libc6:i386 and a few others allows firefox to work: Meaning installing the :i386 versions of the libraries was (part of) the solution, not the problem. Any bug report would have to go against a part of the system that was par

Re: solved: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Tom H
On Sun, May 4, 2014 at 5:35 AM, Tom Furie wrote: > On Sun, May 04, 2014 at 06:23:05PM +0900, Joel Rees wrote: >> On Sun, May 4, 2014 at 8:05 AM, Tom Roche wrote: >>> >>> summary: solution: install jessie package=libc6:i386 et al >>> >> >> Well, you've actually pinned the problem pretty well. Who,

Re: solved: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Tom Furie
On Sun, May 04, 2014 at 06:23:05PM +0900, Joel Rees wrote: > On Sun, May 4, 2014 at 8:05 AM, Tom Roche wrote: > > > > > summary: solution: install jessie package=libc6:i386 et al > > > > Well, you've actually pinned the problem pretty well. Who, or, rather, > which tool should be responsible for

Re: solved: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Joel Rees
On Sun, May 4, 2014 at 8:05 AM, Tom Roche wrote: > > summary: solution: install jessie package=libc6:i386 et al > Well, my understanding is that it's likely a temporary solution. And not a recommended one. (Think carefully about the about the recent fuss about the openssl vulnerability.) You ne

No, Virginia, there is no such think as a dangling hard link (Re: `ls` shows file, `bash` says "No such file" ???)

2014-05-04 Thread Joel Rees
create a file, the directory entry that you see when you ls it is a hard link: echo "It's a gas." > file.text # and "file.txt" is a hard link in the current directory. ln file.text ../linky.text # and "linky.text" is also a hard link. rm file.text # The file i

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Eero Volotinen
2012 > /usr/local/share/firefox-3.6.28/firefox-bin > me@it ~ $ sudo /usr/local/share/firefox-3.6.28/firefox-bin > sudo: unable to execute /usr/local/share/firefox-3.6.28/firefox-bin: No > such file or directory > me@it ~ $ groups > me sudo staff lpadmin > > How is it possible

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-04 Thread Jörg-Volker Peetz
Ralf Mardorf wrote, on 05/04/2014 01:55: > On Sun, 2014-05-04 at 01:53 +0200, Ralf Mardorf wrote: >> On Sun, 2014-05-04 at 01:05 +0200, Jörg-Volker Peetz wrote: > $ touch x > $ ln -s x firefox-bin >> >> JFTR >> >> I guess your intention was >> >> ln -s firefox-bin x >> >> ;). > > Mumpitz (

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Ralf Mardorf
On Sun, 2014-05-04 at 01:53 +0200, Ralf Mardorf wrote: > On Sun, 2014-05-04 at 01:05 +0200, Jörg-Volker Peetz wrote: > > >> $ touch x > > >> $ ln -s x firefox-bin > > JFTR > > I guess your intention was > > ln -s firefox-bin x > > ;). Mumpitz (humbug), now I'm mistaken :D. -- To UNSUBSCRIB

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Ralf Mardorf
On Sun, 2014-05-04 at 01:05 +0200, Jörg-Volker Peetz wrote: > >> $ touch x > >> $ ln -s x firefox-bin JFTR I guess your intention was ln -s firefox-bin x ;). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Ralf Mardorf
On Sun, 2014-05-04 at 01:05 +0200, Jörg-Volker Peetz wrote: > But you're right, with the -l switch of the ls command the OP should > have seen something like > > lrwxrwxrwx 1 user users 1 May 4 00:56 /tmp/xx/firefox-bin -> x > > indicating a soft-link. Ok, while I re

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Ralf Mardorf
On Sun, 2014-05-04 at 00:49 +0200, Jörg-Volker Peetz wrote: > I thought of the following scenario: > > $ touch x > $ ln -s x firefox-bin > $ rm x > > Now with this dangling link named firefox-bin try > > $ ls firefox-bin > firefox-bin > > $ ./firefox-bin

solved: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Tom Roche
summary: solution: install jessie package=libc6:i386 et al details: https://lists.debian.org/debian-user/2014/05/msg00126.html [Tom Roche Fri, 02 May 2014 22:25:34 -0400] > me@it ~ $ /usr/local/share/firefox-3.6.28/firefox-bin > bash: /usr/local/share/firefox-3.6.28/firefox-bin: No such

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Jörg-Volker Peetz
at, May 3, 2014 at 8:55 AM, Jörg-Volker Peetz wrote: >>>>>> >>>>>> On my machine /usr/lib/iceweasel/firefox-bin is a link to >>>>>> /usr/lib/iceweasel/iceweasel . So maybe on your machine >>>>>> /usr/local/share/firefox-3.6.2

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Jörg-Volker Peetz
t;> >>>>> On my machine /usr/lib/iceweasel/firefox-bin is a link to >>>>> /usr/lib/iceweasel/iceweasel . So maybe on your machine >>>>> /usr/local/share/firefox-3.6.28/firefox-bin is a dangling link. >>>>> What is the output of >&g

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Jörg-Volker Peetz
x-bin is a link to >>>> /usr/lib/iceweasel/iceweasel . So maybe on your machine >>>> /usr/local/share/firefox-3.6.28/firefox-bin is a dangling link. >>>> What is the output of >>>> >>>> $ ls -lF /usr/local/share/firefox-3.6.28/firefox-bin >&

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Ralf Mardorf
JFTR nobody of us mentioned to - run sudo ldconfig without doing something else before doing this, for good reasons, but you never know, just in case, just run sudo ldconfig (without adding the path of your firefox install's libs to /etc/ld.so.conf or a file in /etc/ld.so.conf.d/) - to log

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Ralf Mardorf
PPS: To rule out that there was a hard link created to a non existing file: $ ln q p ln: failed to access ‘q’: No such file or directory It's impossible to create such a hard link. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Conta

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Ralf Mardorf
On Sat, 2014-05-03 at 23:11 +0200, Ralf Mardorf wrote: > -rwxr-xr-x 1 root staff 3.9K Mar 6 2012 firefox > -rwxr-xr-x 1 root staff 44K Mar 6 2012 firefox-bin PS: "firefox" likely is a script or a bin executing "firefox-bin", it doesn't matter, since the OP tried to launch "firefox-bin" and

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Ralf Mardorf
. So maybe on your machine > >> /usr/local/share/firefox-3.6.28/firefox-bin is a dangling link. > >> What is the output of > >> > >> $ ls -lF /usr/local/share/firefox-3.6.28/firefox-bin > > > > The OP's installed an old version of firefox outside o

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Jörg-Volker Peetz
ngling link. >> What is the output of >> >> $ ls -lF /usr/local/share/firefox-3.6.28/firefox-bin > > The OP's installed an old version of firefox outside of the packaging system! > I read that. But the symptom he describes could be due to a dangl

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Steve Litt
On Fri, 02 May 2014 23:49:03 -0400 Gary Dale wrote: > On 02/05/14 10:25 PM, Tom Roche wrote: > > > > How is it possible that `ls` can list a file, but `bash` says "No > > such file"? [clip] > The problem you have may be related to the firebox-bin not being

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Tom H
On Sat, May 3, 2014 at 8:55 AM, Jörg-Volker Peetz wrote: > > On my machine /usr/lib/iceweasel/firefox-bin is a link to > /usr/lib/iceweasel/iceweasel . So maybe on your machine > /usr/local/share/firefox-3.6.28/firefox-bin is a dangling link. > What is the output of > > $ ls

Re: `ls` shows file, `bash` says "No such file" ???

2014-05-03 Thread Jörg-Volker Peetz
On my machine /usr/lib/iceweasel/firefox-bin is a link to /usr/lib/iceweasel/iceweasel . So maybe on your machine /usr/local/share/firefox-3.6.28/firefox-bin is a dangling link. What is the output of $ ls -lF /usr/local/share/firefox-3.6.28/firefox-bin Regards, jvp. -- To UNSUBSCRIBE, email

  1   2   3   4   5   6   7   8   9   >