FS#44822 - [vi] /var/lib/ex is mode 1777

Attached to Project: Arch Linux
Opened by Hugo Osvaldo Barrera (hobarrera) - Sunday, 03 May 2015, 04:43 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 04 May 2015, 06:02 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The vi package includes directory /var/lib/ex, with permission 777. This is a very huge security risk, since any user can write into this directory.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 04 May 2015, 06:02 GMT
Reason for closing:  Not a bug
Comment by Evangelos Foutras (foutrelis) - Sunday, 03 May 2015, 05:25 GMT
It's always been like that and it's intentional. The /var/lib/ex directory has the same permissions as /tmp (1777) and is used by the "preserve" vi command to temporarily store the buffer contents.

Loading...