Re: su chmod -755 /usr

2015-06-09 Thread Cam Hutchison
Julian Brooks 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 default. No

Re: reading an empty directory after reboot is very slow

2015-04-14 Thread Cam Hutchison
Vincent Lefevre 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, why is it

Re: How does exec work with systemd?

2014-09-10 Thread Cam Hutchison
Steve Litt 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 for some time, which is

Re: vlan not tagging packets | no reply to vlan

2014-09-02 Thread Cam Hutchison
"Podrigal, Aron" 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 like either the >p

Re: /etc/mailname file permission

2014-06-13 Thread Cam Hutchison
Andrei POPESCU 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 you >specify file

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

2012-09-16 Thread Cam Hutchison
Morning Star 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 first run of awk

Re: dev pts mystery

2012-09-05 Thread Cam Hutchison
Henrique de Moraes Holschuh 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 Sep

Re: Transferring files between Samsung tablet and a Debian box

2012-07-12 Thread Cam Hutchison
Ken Heard 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. As others have ment

Re: virt-manager fails to connect to remote server

2012-07-09 Thread Cam Hutchison
Gary Dale writes: >On 08/07/12 09:01 PM, Davi Garcia wrote: >> Hey, >> >> On Sun, Jul 8, 2012 at 5:45 PM, Gary Dale wrote: >>> Any ideas? >> This looks similar to bug #590649 [1]. Have you tried to install >> "ssh-askpass"? >> >> [1] - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590649 >>

Re: Using the find command

2012-06-19 Thread Cam Hutchison
Alan Chandler 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 down the subdire

Re: Bash script problem [OT?]

2012-04-24 Thread Cam Hutchison
Chris Davies writes: >Cam Hutchison 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

Re: Bash script problem [OT?]

2012-04-23 Thread Cam Hutchison
Soare Catalin 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 spaces :), obviousl

Re: Bash script problem [OT?]

2012-04-22 Thread Cam Hutchison
Soare Catalin 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? >BK_LIST="$BK_LIST ${PARAM}" h

Re: how to refrain only use certain number of processors

2012-01-30 Thread Cam Hutchison
lina 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 else needs SMP

Re: start-stop-daemon: stop several processes

2012-01-11 Thread Cam Hutchison
hvw59601 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 starts 3 proc

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

2011-12-25 Thread Cam Hutchison
Paul Wise 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 or other stu

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 w

Re: Is GNOME 2 panel still in unstable?

2011-11-12 Thread Cam Hutchison
Camaleón writes: >On Sat, 12 Nov 2011 05:15:42 +0000, 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 l

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 U

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

2011-10-16 Thread Cam Hutchison
David Baron 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 purge

Re: Reducing kernel compilation time

2011-09-25 Thread Cam Hutchison
David Witbrodt 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 building a distro kerne

Re: bash script fails in squeeze

2011-07-06 Thread Cam Hutchison
"Bonno Bloksma" 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 $PINGHO

Re: Accented chars in filenames issue

2011-06-25 Thread Cam Hutchison
Ralf Mardorf 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 of "unsubscribe". Tro

Re: Translate user names with NFS

2011-06-15 Thread Cam Hutchison
Dan 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 Should >I update

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 (http://ldn.linuxfoundation.org/blog-entry