Re: su chmod -755 /usr

2015-06-09 Thread Cam Hutchison
Julian Brooks jbee...@gmail.com writes: Hey all, Yes I'm an idiot... Not very experienced user here - 1st post: I mistakenly ran 'chmod -755 /usr'. How can I fix my permissions? Run 'chmod 755 /usr'. All your command did was remove permissions from the /usr directory. Just set them back the

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Cam Hutchison
Vincent Lefevre vinc...@vinc17.net writes: On 2015-04-13 16:28:27 -0600, Bob Proulx wrote: Without dir_index an ext filesystem with large directories is slow due to the linear nature of directories. But with dir_index it should be using a B-tree data structure and should be much faster. So,

Re: How does exec work with systemd?

2014-09-10 Thread Cam Hutchison
Steve Litt sl...@troubleshooters.com writes: The only thing is, Daemontools has no way of telling it which order to load things, so, for instance, I'll need to load the dns server before Dovecot and Apache, so the dns server will continue to be loaded by the init system. I've been using runit

Re: vlan not tagging packets | no reply to vlan

2014-09-03 Thread Cam Hutchison
Podrigal, Aron ar...@guaranteedplus.com writes: Hi there, I'm trying to setup vlans on debian wheezy 7.6. But I can't get it to work. Is there something special I'm missing out there? I tried searching around, but I didn't get any further. I couldn't figure out where this is going wrong. Looks

Re: /etc/mailname file permission

2014-06-13 Thread Cam Hutchison
Andrei POPESCU andreimpope...@gmail.com writes: On Vi, 13 iun 14, 06:10:11, ML mail wrote: Thanks for your feedback. I believe my puppet changed the mode of this file for some unknown reason and I will reset it back to 644. There's always a reason (whether intentional or bug or whatever). Do

Re: [ask] awk - passing for loop bash variables to awk

2012-09-16 Thread Cam Hutchison
Morning Star morning.star.c...@gmail.com writes: here is the desired output: line_1 line_2 line_3 here is what i do: cat input | for (( i=1;i=3;i++ )); do gawk -v var=$i 'NR == var { print}'; done but, the result is always: line_1 When awk runs, it reads its input until EOF. In your loop, the

Re: dev pts mystery

2012-09-05 Thread Cam Hutchison
Henrique de Moraes Holschuh h...@debian.org writes: On Mon, 03 Sep 2012, songbird wrote: somehow (i can't say what happened or i'd have the answer), now it looks like: crw--w 1 me tty 136, 0 Sep 3 20:05 0 crw--w 1 me tty 136, 1 Sep 3 20:10 1 crw--w 1 root tty 136, 2

Re: Transferring files between Samsung tablet and a Debian box

2012-07-12 Thread Cam Hutchison
Ken Heard kensli...@teksavvy.com writes: Can anyone tell me how I can transfer files between my Samsung tablet with Honeycomb and my Debian boxes with Lenny or Squeeze, using either a USB or Bluetooth connection between them? I know I can transfer them by e-mail, but that method is cumbersome.

Re: virt-manager fails to connect to remote server

2012-07-09 Thread Cam Hutchison
Gary Dale garyd...@rogers.com writes: On 08/07/12 09:01 PM, Davi Garcia wrote: Hey, On Sun, Jul 8, 2012 at 5:45 PM, Gary Dalegaryd...@rogers.com wrote: Any ideas? This looks similar to bug #590649 [1]. Have you tried to install ssh-askpass? [1] -

Re: Using the find command

2012-06-20 Thread Cam Hutchison
Alan Chandler a...@chandlerfamily.org.uk writes: At one point it does clean /run ! -xtype d ! -name utmp ! -name innd.pid || ES=1 clean /run/lock ! -type d || ES=1 clean /run/shm ! -type d || ES=1 which looks as though (with the ! - xtype d...) that its trying not to recurse

Re: Bash script problem [OT?]

2012-04-25 Thread Cam Hutchison
Chris Davies chris-use...@roaima.co.uk writes: Cam Hutchison c...@xdna.net wrote: BK_LIST=() Append to the array with += BK_LIST+=${PARAM} This += syntax appears not to work with my version of bash (4.1.5(1)-release from package bash 4.1-3). Instead I have to do this: BK_LIST+=(${PARAM

Re: Bash script problem [OT?]

2012-04-23 Thread Cam Hutchison
Soare Catalin lolinux.so...@gmail.com writes: Thank you everyone for replying, but unfortunately, nothing seems to work for the moment, although all the answers appear to make sense. First, the array solution appears to work, but when tar gets all the parameters, they become a long string without

Re: Bash script problem [OT?]

2012-04-22 Thread Cam Hutchison
Soare Catalin lolinux.so...@gmail.com writes: The script will take files or dirs as parameters and will back them up in a presefined location, using tar. Problems arise when it will encounter files or directories which contain spaces in their names. then #is it an existing directory?

Re: how to refrain only use certain number of processors

2012-01-30 Thread Cam Hutchison
lina lina.lastn...@gmail.com writes: Yes. the ultimate goal is: for i in {0..108} do cat A_$i.txt B_$i.txt C_$i.txt -o ABC_$i.txt (output as ABC_$i.txt) done but here I wish to use only 8 processors at most, total is 16. the administrator of the cluster asked me not to use whole, cause someone

Re: start-stop-daemon: stop several processes

2012-01-11 Thread Cam Hutchison
hvw59601 hvw59...@care2.com writes: This process is started at boot by 'do_chk_ip' in /etc/init.d which has: stop) start-stop-daemon --stop --verbose --exec $DAEMON ;; where $DAEMON=/usr/bin/do_tail_chk which has: tail -s 1 -n 60 -f /var/log/syslog | /usr/bin/do_chk_ip but that

Re: single device to replace ADSL router, WiFi/Ethernet router, SIP router?

2011-12-25 Thread Cam Hutchison
Paul Wise p...@debian.org writes: I'm looking for a single device (to reduce cabling) to replace this: * it needs to run Debian or have at least some potential to do that. I don't want to have to deal with any pre-installed OSes, custom old OpenWRT builds running Linux 2.4

How can I get GNOME 2 back

2011-11-27 Thread Cam Hutchison
I have tried GNOME 3. I have tried it with fallback mode. I've now tried xfce, kde and my own hacked together xsession with gnome components. I don't like any of it. What I like is the setup I had. I had GNOME 2 set up just the way I wanted it, and there was nothing wrong with it. Is there any

Re: Is GNOME 2 panel still in unstable?

2011-11-12 Thread Cam Hutchison
Camaleón noela...@gmail.com writes: On Sat, 12 Nov 2011 05:15:42 +, Cam Hutchison wrote: I'd like to keep using the panel from GNOME 2. I like its world clock, the menu and a couple of applets. Is this still in unstable at all? The replacement seems to be less functional (at the moment

Is GNOME 2 panel still in unstable?

2011-11-11 Thread Cam Hutchison
I'd like to keep using the panel from GNOME 2. I like its world clock, the menu and a couple of applets. Is this still in unstable at all? The replacement seems to be less functional (at the moment). Otherwise is there a compatible panel available that can use the GNOME 2 world clock? -- To

Re: Cruft in /var/lib/dpkg/status

2011-10-16 Thread Cam Hutchison
David Baron d_ba...@012.net.il writes: On Sunday 18 Tishrey 5772 19:32:50 debian-user-digest-requ...@lists.debian.org wrote: What is the output of the command grep 'Status:' /var/lib/dpkg/status | grep -v installed A bunch of lines: Status: deinstall ok config-files If you just need to

Re: Reducing kernel compilation time

2011-09-25 Thread Cam Hutchison
David Witbrodt dawit...@sbcglobal.net writes: (My goal was to produce a kernel that boots without an initrd; most people will not share that goal.) I would have thought that most people would share that goal, since building an initrd is useful for only two reasons I can think of: 1) You are

Re: bash script fails in squeeze

2011-07-06 Thread Cam Hutchison
Bonno Bloksma b.blok...@tio.nl writes: [...snip...] ping3.sh -- default gateway status=0 ping4.sh -- status=1 [...snip...] ping3.sh -- # test of $PINGHOST pingt # pingt hij niet, test dan nog een keer # pingt hij dan nog niet, verwijder dan de defaultroute [ `pingtest

Re: Accented chars in filenames issue

2011-06-25 Thread Cam Hutchison
Ralf Mardorf ralf.mard...@alice-dsl.net writes: $ echo test \* $ ls * Desktop Downloads hdsp.1 Any idea how I can get rid of the file named *? Exactly the same way you created it. With a backslash. $ rm \* -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject

Re: Translate user names with NFS

2011-06-15 Thread Cam Hutchison
Dan ganc...@gmail.com writes: If you have the same user (ex. pedro) with the same name but different UID and GID NFS4 will do the conversion. Therefore I am just going to sync the names between the two machines. To do that I guess that I just need to change the file /etc/passwd and /etc/group

SSD partition alignment considerations

2011-05-30 Thread Cam Hutchison
I'm about to do a fresh install of Debian onto a new box with a Crucial M4 128GB SSD. I want to ensure that I get the best performance I can out of the SSD so I want to make sure I take care of any partition alignment issues. I have read tytso's blog post