ufw - WARN: / is world writable!
- Login o registrati per inviare commenti
Hello,
I do not speak English so I write this with a web translator.
the same consultation in Spanish:
https://trisquel.info/en/forum/gufw-warn-world-writable
I have done a multiple installation with several distributions based in debian and in ubuntu and with all the same happens to me:
on having installed the gufw, the following alarm throws me and the firewall does not work:
WARN: / is world writable! | WARN: / is group writable! |
since I could have seen in Internet this warning it appears when the permission of the directory root / is 777, and gets ready changing the permissions to 755
"sudo chmod 755 /".
It seems that this arranges it but I would like knowing why it happens.
In other computers, also with multiple starter it has never happened to me.
The only difference is that in this occasion the starter is UEFI.
But as it happens to me in all the distributions I wonder I will not be doing something wrong in the installation process.
Is this normal?
Thanks.
It should never happen. Well, unless, you specifically changed the permissions with administrative privileges ('sudo chmod'). Can you show your /etc/fstab?
With that command you change all permissions for all users.
The specific command to fix this specific issue is:
$ sudo chmod o-w /
(this only removes writable permission to Others/world)
El 23/10/19 a les 21:34, name at domain ha escrit:
> Hello,
>
> I do not speak English so I write this with a web translator.
>
> the same consultation in Spanish:
>
> https://trisquel.info/en/forum/gufw-warn-world-writable
>
>
>
> I have done a multiple installation with several distributions based in
> debian and in ubuntu and with all the same happens to me:
>
> on having installed the gufw, the following alarm throws me and the
> firewall does not work:
>
> WARN: / is world writable! | WARN: / is group writable! |
>
> since I could have seen in Internet this warning it appears when the
> permission of the directory root / is 777, and gets ready changing the
> permissions to 755
>
> "sudo chmod 755 /".
>
> It seems that this arranges it but I would like knowing why it happens.
> In other computers, also with multiple starter it has never happened to me.
> The only difference is that in this occasion the starter is UEFI.
> But as it happens to me in all the distributions I wonder I will not be
> doing something wrong in the installation process.
>
> Is this normal?
>
> Thanks.
Thanks
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
# / was on /dev/sda4 during installation
UUID=75178c0f-25b4-494b-9355-18d4754458b1 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=C267-B886 /boot/efi vfat umask=0077 0 1
# swap was on /dev/sda2 during installation
UUID=b717ec49-d3e8-4c30-91dd-5aef78d052e2 none swap sw 0 0
That /etc/fstab is OK (I would recommend a separate /home, but that is not the problem).
- Login o registrati per inviare commenti