You are not logged in.
I did a search for all world writable files and noticed a good amount in /proc, /dev, and /run, as well as /var/spool/postfix. Can I do a mass find and remove the world write or will this break the system. Are these supposed to be world writable?
Last edited by whahn1983 (2015-01-29 15:28:31)
Offline
What are the files?
Why do you want to delete them?
Offline
/proc is a virtual filesystem, don't touch it.
You should be careful with /dev and /run too https://wiki.archlinux.org/index.php/Ar … ntime_data
Offline
Don't want to delete the files, just remove the world writable bit. How about /var/spool/postfix? Does that need world write? Seems like a potential security issues.
Offline
I just installed postfix to check; but that directory is not world-writable for me; what does `pacman -Qkk postfix tell you about that specific directory?
`
Offline
It looks like they are all actually in /var/spool/postfix/private and public and they all have the sticky bit as well. The pacman output gives warnings for UID mismatch.
Offline
What file system are you using on that volume?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Ext4
Offline
Don't want to delete the files, just remove the world writable bit. How about /var/spool/postfix? Does that need world write? Seems like a potential security issues.
Those are sockets (for postfix inter-process communication), not files. Stay off.
Use find -f to find actual files.
Offline
Ah sounds good. Thank you.
Offline