Re: Permissions on /var/log/ files

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

 



On 07/17/2013 03:47 PM, Suvayu Ali wrote:
> On Wed, Jul 17, 2013 at 09:29:04AM -0500, Chris Adams wrote:
>> Once upon a time, Timothy Murphy <gayleard@xxxxxxxx> said:
>>> Will it cause any problems if I change the permissions on these files?
>>
>> Nope, been doing it for years.
> 
> I thought changing the permission on /var/log/messages will cause
> problems with syslog, no?

Maybe you are thinking of logrotate? If you make changes by hand these
will be undone when the logs are rotated if the configuration differs
from the file system.

You can solve this by setting the permissions and ownership in the
relevant logrotate.{conf,d/} file.

Alternately you can use ACLs on the log files to open up access to
specific users and groups. Recent (>F14) logrotates should preserve ACLs
when rotating files (bz#666677).

Regards,
Bryn.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux