LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "No edit" signs on desktop folders and LOST modprobe (Fedora Core 2) (https://www.linuxquestions.org/questions/linux-newbie-8/no-edit-signs-on-desktop-folders-and-lost-modprobe-fedora-core-2-a-184731/)

smokylux 05-23-2004 03:46 AM

"No edit" signs on desktop folders and LOST modprobe (Fedora Core 2)
 
Logged in as user, I got "No edit" signs on the following folders on my desktop:
- Computer
- <user>'s home
- Trash

<user> is owner of home directory and .Trash and Desktop/Trash/... (Where is Computer located by the way?)

How can this happen? Or is this normal??

I also lost modprobe!! Even if I do su root, I got "bash:modprobe: command not found"

same for ndiswrapper (trying to set up wireless on my Acer Aspire 2003)

If I do "locate modprobe" it says that it is in fact in /sbin/ but with ls -la I can't find it.... (Done an updatedb already)

Can anyone help me? I'm very new to Linux just got few experience....

Thx in advance!


smokylux

drowstar 05-23-2004 04:59 AM

Hi smokylux,
you have done many right things already.

To answer some of your questions first:
This is not normal.
This should not happen.
Computer must be an invention by <whateverdistroyouareusing>. It is probably a virtual folder. Try clicking on it and see what it says in the location bar.

Now to your first problem (no edit):
The situation you describe looks like a permission issue. Try ls -l ~, the output should be several lines like this:
Code:

drwx------    3 <user>  users        144 May 22 20:21 <folder>
Check if either <user> or users (the user group) are not correct.
If this is the case issue this command in the /home directory as root:
chown <user>:users <user> -R
Also, check if the permissions at least have the drwx at the beginning (I am not sure about the d at the moment. Try adding it, if you run into any problems.).
To change that run this command in the /home directory as root:
chmod u+drwx <user> -R

The second sounds strange. The most likely problem I can think of that your path is not updated correctly. Try running source /etc/profile as root on the command line and try if it is found now. You can also try adding /sbin to your path by hand: export PATH=$PATH:/sbin. This of course will not help if the file is indeed not there (another way to check if it is in this directory would be cding into it and running ./modprobe and see if the error returned is a modprobe (its there, yey!) or bash (too bad) error.)

I have no clue how this can have happened (especially not if both these errors occurd at the same time), but I hope getting rid of the symptoms is sufficient.

Good luck,
- drowstar

smokylux 05-23-2004 05:10 AM

Thx alot! :)

Solved the first problem myself, by doin chown -R <user>:<user> /home/<user>....

there must have been one or maybe few folders that didn't belong to <user>.... do ownerships change if you do su root and take changes (e.g. emptying the trash folder, as files owned by root where there)?

Second problem was solved by source /etc/profile..... yeah! Thx, thx and thx :o)

AsI'm new to Linux and this forum I'm very happy, that someone could help me that fast! I will stay here :o))



smokylux


All times are GMT -5. The time now is 11:53 PM.