On Sunday 19 Dec 2004 2:39 pm, [EMAIL PROTECTED] wrote: > Hi. > > I've noticed that, strangely, the effect of the command 'chgrp' > is not permanent: I did > > # chgrp rodolfo /*
Since this is the newbie list, Do not do this. If it was the expert list I'd say "Are you sure you know what you're doing?" To me this is highly dangerous from the point of view of system security and stability. > and then > > # ls -l / > > ; then I rebooted the system, did '# ls -l /' again > and this time the output was changed: > > [EMAIL PROTECTED] rodolfo]# ls -l / > total 52 > drwxr-x--x 2 root rodolfo 4096 Dec 17 16:05 bin/ > drwxr-x--x 3 root rodolfo 4096 Dec 19 15:19 boot/ > drwxr-xr-x 17 root root 3800 Dec 19 15:19 dev/ > drwxr-x--x 71 root rodolfo 4096 Dec 19 15:19 etc/ > drwxr-x--x 4 root rodolfo 4096 Dec 18 18:53 home/ > drwxr-x--x 2 root rodolfo 4096 Dec 17 16:31 initrd/ > drwxr-x--x 11 root rodolfo 4096 Dec 17 16:13 lib/ > drwxr-xr-x 7 root rodolfo 4096 Dec 18 11:48 mnt/ > drwxr-x--x 2 root rodolfo 4096 Jan 5 2004 opt/ > dr-xr-xr-x 79 root root 0 Dec 19 15:19 proc/ > drwx------ 11 root rodolfo 4096 Dec 19 15:08 root/ > drwxr-x--x 2 root rodolfo 4096 Dec 17 15:59 sbin/ > drwxr-xr-x 9 root root 0 Dec 19 15:19 sys/ > drwxrwx-wt 11 root rodolfo 4096 Dec 19 15:20 tmp/ > drwxr-x--x 12 root rodolfo 4096 Dec 17 16:07 usr/ > drwxr-x--x 17 root rodolfo 4096 Dec 17 15:59 var/ > /dev and /proc are mounted filesystems, created at boot time. I don't have /sys on my system, but I expect it is also. > , and even other changes occured later. > How come? That will be msec, trying to keep your system secure. > And how to make chgrp's effect not change until I want to? You could disable msec. You could even find how /dev, /proc and /sys are mounted and change that. But please don't. What are you trying to achieve? There has to be a better way. By the looks of the directory permissions you have selected a high security level. Most of mine are drwxr-xr-x. If that's your problem then it would be safer to reduce the security level or just work within it. -- Richard Urwin
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
