Re: swapon permissions
On 2012-01-12 19:57 +0100, Frank McCormick wrote:
> On 12-01-12 12:21 PM, Sven Joachim wrote:
>> On 2012-01-12 16:17 +0100, Tomas Volka wrote:
>>> On Čt 12-01-12 | 09:21, Frank McCormick wrote:
>>>> Noticed today in the middle of bootup messages that swapon is
>>>> complaining about permissions set to 1660 and were insecure. It
>>>> suggested (as I recall) 0660. I never saw this before.
>>>> How do I go about changing them ?
>>> This bug was already reported here:
>>> You can get rid of that annoying message by issuing following as root:
>>> chmod 0600 /sbin/swapon
>> You mixed up something here, that should be the permission of *swap
>> files*, not of the swapon utility. But it is true that this will get
>> rid of the message, because no swap space is going to activated if
>> /sbin/swapon is not executable by anyone.
> So what's the solution..
Fix swapon to not complain about files with the sticky bit set, or fix
udev to not create device files with it.
> and is it that important. After reading the
> bug report I don't think it's all that big a deal ?
Surely, it's just a warning that can safely be ignored.