Change permission inquire.
Quote:
Excuse me, What the wrong I do!? |
Hi,
Sudo might not be aware of where you are standing when you execute the chmod command. Try: sudo chmod +x /etc/modprobe.d You are standing in the wrong directory..... You are in /etc/modprobe.d and try to chmod modprobe.d. You need to be in /etc. Hope this helps. |
Since you are already in modprobe.d your command does not see the modprobe.d folder.
Try sudo chmod +x . or sudo chmod +x ../modprobe.d [Edit] Or give full path as suggested by druuna |
It looks like you're in /etc/modprobe.d; simply
Code:
cd /etc Code:
drwxr-xr-x 2 root root 4096 2010-07-01 10:10 modprobe.d/ Code:
drwxr-xr-x 2 root root 4096 2010-07-01 10:10 ./ Essentially, if you want to change the permission mask on a file or directory, you either need to be one directory level above (so you can ls -l name-of-file-or-directory), use absolute path, or use relative path; e.g., in the directory use the "dot-dot;" e.g., in /etc/modprobe.d you can ls ../modprobe.d (or chmod or whatever). Hope this helps some. |
Many thank for all.
still have the problem. Quote:
Quote:
please need to do it throught inside Kubuntu. |
Quote:
sudo cat > x.conf instead. CAREFUL: If you already have a file called x.conf in that folder then it will be truncated and all data it contains will be lost! Maybe you should elaborate on what you are actually trying to achieve. Then maybe we can provide some more effective advice. |
I tried it.. but
Quote:
|
Quote:
sudo -s 'cat > x.conf' from within /etc/modprobe.d |
Crts really many thanks for being helpful.
Quote:
|
All times are GMT -5. The time now is 08:17 PM. |