mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-27 10:22:40 +00:00
ef18f9ca91
The Vagrant tests assumed that there’d be a user called “vagrant” that would run the tests and create the files by default. Files would be owned by vagrant:vagrant by default, and this worked, until it came time to change that username. The naïve method was a search-and-replace, but this caused problems when the new user’s name wasn’t exactly the same length as the previous one. So to fix this, we now have our own user, named after the first animal I thought of, that makes the files’ owners and groups independent of the default user of whichever VM image the xtests are running on. Another place where it was hard-coded was the home directory, which was “/home/vagrant”, where the awkward testcases live. That last one has been changed to just “/testcases”, which has no mention of the user in it.
15 lines
1.8 KiB
Plaintext
15 lines
1.8 KiB
Plaintext
/testcases/permissions/forbidden-directory: Permission denied (os error 13)
|
||
[4mPermissions[0m [4mSize[0m [4mUser[0m [4mGroup[0m [4mDate Modified[0m [4mName[0m
|
||
.[38;5;244m--------[32mx[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m 001
|
||
.[38;5;244m-------[31mw[38;5;244m-[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m 002
|
||
.[38;5;244m------[33mr[38;5;244m--[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m 004
|
||
.[38;5;244m-----[32mx[38;5;244m---[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m 010
|
||
.[38;5;244m----[31mw[38;5;244m----[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m 020
|
||
.[38;5;244m---[33mr[38;5;244m-----[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m 040
|
||
.[38;5;244m--[1;4;32mx[0m[38;5;244m------[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m [1;32m100[0m
|
||
.[38;5;244m-[1;31mw[0m[38;5;244m-------[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m 200
|
||
.[1;33mr[0m[38;5;244m--------[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m 400
|
||
.[1;33mr[31mw[4;32mx[0m[33mr[31mw[32mx[33mr[31mw[32mx[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m [1;32mall-permissions[0m
|
||
[1;34md[0m[38;5;244m---------[0m [38;5;244m-[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m [1;34mforbidden-directory[0m
|
||
.[38;5;244m---------[0m [1;32m0[0m [1;33mcassowary[0m [1;33mcassowary[0m [34m 1 Jan 12:34[0m no-permissions
|