gluttony Posted November 24, 2005 Report Share Posted November 24, 2005 hi, I keep having to change the ownership and permissions for my /usr folder using chmod and chown. I have no problem changing these but they keep resetting back to their default values. I think this happens every time i log out and into KDE. Is there any way I can perminently change the ownership of my /usr folder? thanks for the help :) Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted November 25, 2005 Report Share Posted November 25, 2005 The reason for this is probably the "security level" you chose. I don't know the details, but basically, you should have a file somewhere under /etc/msec/ or /etc/msec.d/ or something like that, in which the permissions for /usr are defined. Your best option is then probably to go and change that file... or create a custom "security level". Yves. Quote Link to comment Share on other sites More sharing options...
gluttony Posted November 25, 2005 Author Report Share Posted November 25, 2005 ok, thanks, i'll give that a try. :) i'm not sure what you mean by creating a custom security level though. do i not need to worry about that? thanks for the help Paul Quote Link to comment Share on other sites More sharing options...
aioshin Posted November 25, 2005 Report Share Posted November 25, 2005 or you can try to disable cron, msec depends on cron jobs, cron runs msec hourly or daily, or as how it was set. resetting any changes in ownership and others to its default state.. that if you dont need cron on other purpose.. I remember that security level can be found at MCC - security... then try to look at there... Quote Link to comment Share on other sites More sharing options...
scarecrow Posted November 25, 2005 Report Share Posted November 25, 2005 Just curious: what owner settings you like to set on /usr folder? Anything different than root/root is roughly equivalent to running the root user without password... Quote Link to comment Share on other sites More sharing options...
gluttony Posted November 27, 2005 Author Report Share Posted November 27, 2005 thanks for the help guys. About getting into the /usr folder: i think i may have done things wrong when i installed mandrake on my computer. I set up one root partition (/) and another partition mounted in /usr (which it had as the default option for a second partition). so what it is is that I have basically got my whole hard disk space in /usr. When i log into KDE, I log is as "paulo" (which is not root obviously) and that means that i can't write files into my /usr drive unless i change the permissions each time for the user "paulo". I am the only user on my computer so i don't think that giving the user "paulo" access to that folder should be a problem, seeing as i can access the folder anyway as i know the root password. Could you explain what problems there might be with this? Is there some way i can log into KDE as root? Have you got any tips as to how i can sort this out, or how i should set up my partitions? again, thanks very much for all the help. Paul Quote Link to comment Share on other sites More sharing options...
scarecrow Posted November 28, 2005 Report Share Posted November 28, 2005 The /usr directory contains program and system files, not user files. Your user files are under /home/paulo Managing files into /usr (not recommended, anyway) is as simple as pressing alt+F2 and typing in kdesu konqueror DO NOT change permissions at /usr, even for a single user machine. Quote Link to comment Share on other sites More sharing options...
gluttony Posted November 28, 2005 Author Report Share Posted November 28, 2005 ok, so it seems that having my hard drive mounted under /usr is a bad idea? i am going to install mandriva 2006 soon: how do you recommend i set up my partitions. at the moment (this is from memory) i have 10 Gb: root 1Gb: swap 50 Gb: /usr thanks again for the help. Paul Quote Link to comment Share on other sites More sharing options...
jboy Posted November 28, 2005 Report Share Posted November 28, 2005 How about a separate /home? You could take maybe 10 gb from /usr and use it for /home. Quote Link to comment Share on other sites More sharing options...
gluttony Posted November 28, 2005 Author Report Share Posted November 28, 2005 ok, is there any reason I need to keep any space on /usr ? could I not just put it all in /home? thanks again Paul Quote Link to comment Share on other sites More sharing options...
lavaeolus Posted November 29, 2005 Report Share Posted November 29, 2005 (edited) If you do a fresh install you can do 10 GB / 1 GB swap 50 GB /home /home is where you propably store the most (your private) stuff like mp3's, videos /usr will be included in / in this setup, but for a non-server system I see no reason why it should be seperate if you really like to have a seperate /usr (which means Unix System Root btw) make sure it has enough place, since many applications install their files (libraries and such things) in it give it about 2 to 5 GB, depending on what you want to install on your box 5 GB / 1 GB swap 5 GB /usr 50 GB /home could be a setup with a seperate /usr my /usr is now at 1.3 GB, and I have a fairly typical Office-install with KDE, Gnome, OOo and some other apps Edited November 29, 2005 by lavaeolus Quote Link to comment Share on other sites More sharing options...
Qchem Posted November 29, 2005 Report Share Posted November 29, 2005 Take a look at man page for hier that should give you some explanation of what should live where. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.