Re: sticky folder permissions

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



On Tue, Jul 22, 2008 at 9:55 AM, Tom Brown <tom@xxxxxxxx> 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.

-- 
Jeff
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux