On Tue, Jul 22, 2008 at 9:55 AM, Tom Brown tom@ng23.net wrote:
Is there any way i can make /opt world readable and make sure these permissions stick to all subfolders and not allow users other than root/sudo to change them?
Make it a seperate filesystem mounted read-only, then remount it rw when you need to make changes.
i cant as the applications need to log there - i just need 'everyone' to be able to read there - i would have thought i could somehow stick the read permissions but it seems that perhaps not.
What are the applications? What is the directory structure? Is the permission problem on a directory or a file? What user account owns the application process? Is the app un-doing your manual permission changes on existing files and directories, or just not granting read permission to new objects?
If an application so chooses, it can set whatever permissions it wants on newly created files. It may even have logic to alter the permissions on existing files. You may not be able to control it from the OS level.
Or, it could be as simple as setting (or changing) the umask in the application startup script.