Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: CLI cp does not

  1. #11
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: CLI cp does not

    Do you want to copy the ~/SoundCard/alsa-base to /etc/modprobe.d?

    Code:
    sudo cp ~/SoundCard/alsa-base /etc/modprobe.d
    ls -la /etc/modprobe.d
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  2. #12
    Join Date
    Jan 2008
    Beans
    6

    Re: CLI cp does not

    Yes, that's the command I used (sudo cp alsa-base /etc/mprobe.d), but from /home/theo/SoundCard and not using the "~".
    I've tried your command and it works, Thank You! Here's the output from ls:

    theo@theo-desktop:/$ ls -la /etc/modprobe.d
    total 84
    drwxr-xr-x 3 root root 4096 2009-03-14 19:19 .
    drwxr-xr-x 118 root root 12288 2009-03-14 14:00 ..
    -rw-r--r-- 1 root root 4624 2007-10-05 09:41 aliases
    -rw-r--r-- 1 root root 2375 2009-03-14 19:19 alsa-base
    drwxr-xr-x 2 root root 4096 2009-03-12 22:39 arch
    lrwxrwxrwx 1 root root 9 2009-03-12 22:39 arch-aliases -> arch/i386
    -rw-r--r-- 1 root root 980 2008-10-06 05:51 blacklist
    -rw-r--r-- 1 root root 628 2007-10-05 09:41 blacklist-framebuffer
    -rw-r--r-- 1 root root 156 2007-10-05 07:06 blacklist-modem
    lrwxrwxrwx 1 root root 41 2009-03-12 22:40 blacklist-oss -> /lib/linux-sound-base/noOSS.modprobe.conf
    -rw-r--r-- 1 root root 38 2007-10-05 08:26 blacklist-scanner
    -rw-r--r-- 1 root root 838 2007-10-05 09:41 blacklist-watchdog
    -rw-r--r-- 1 root root 343 2007-09-18 17:01 fuse
    -rw-r--r-- 1 root root 205 2007-10-15 04:41 ipw3945
    -rw-r--r-- 1 root root 299 2007-10-05 09:41 isapnp
    -rw-r--r-- 1 root root 38 2008-03-25 10:31 libsane
    -rw-r--r-- 1 root root 294 2007-10-15 04:41 lrm-video
    -rw-r--r-- 1 root root 29 2006-10-09 06:33 nvidia-kernel-nkc
    -rw-r--r-- 1 root root 173 2007-10-05 09:41 options
    -rw-r--r-- 1 root root 41 2007-09-19 02:50 toshiba_acpi.modprobe

    I'm obviously not using proper command syntax / procedure. Is there a reference you might suggest to help me to learn it?

    Again, thanks very much. I'll search the forum on the other issues in case it's already addressed there.

  3. #13
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: CLI cp does not

    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  4. #14
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: CLI cp does not

    Quote Originally Posted by theocl View Post
    Thanks for your responses all, but as indicated permissions are OK (set 777 on directories and file to be sure) and used sudo with the command as shown in your responses. The ls -la shows nothing?!
    Any other thoughts (I hope)?!
    I just thought I should mention, setting the permissions on any directory to 777 (especially important system directories --- like anything under /etc) is definitely a very bad idea.

    There's a very good reason why only root is allowed to write to those directories (otherwise *anyone* can delete or modify important files and break your system). If you need to create or edit files in directories which only root can write in, then use sudo to create or edit the file, don't just change the directory permissions.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •