Re: Related to: FC4 Sluggishness on a 466 MHz Celeron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-07-13 at 10:10 -0500, Mike McCarty wrote:
> Paul Howarth wrote:
> 
> >On Wed, 2005-07-13 at 01:46 -0500, Mike McCarty wrote:

> >>I don't understand why echo should be able to write a file that
> >>an editor cannot.
> >>    
> >>
> >
> >Some editors like to rename the original file to "filename~" and then
> >write out a new file "filename". This won't work in /proc.
> >
> >Paul.
> >  
> >
> I don't use *that* editor. I never have used that one. 
Are you sure? Many editors open files like this.

> Interesting that one
> can delete but not rename the file, even as owner. How is that accomplished?

It's ordinary permissions on files and directories:

# ls  -ld /proc/sys/vm/swappiness
-rw-r--r--  1 root root 0 Jul 13 17:13 /proc/sys/vm/swappiness
# ls  -ld /proc/sys/vm
dr-xr-xr-x  2 root root 0 Jul 13 17:13 /proc/sys/vm

Note the owner permissions.

Ralf



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux