mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-14 08:24:05 +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.
1.8 KiB
1.8 KiB
/testcases/permissions/forbidden-directory: Permission denied (os error 13)
Permissions Size User Group Date Modified Name
.--------x 0 cassowary cassowary 1 Jan 12:34 001
.-------w- 0 cassowary cassowary 1 Jan 12:34 002
.------r-- 0 cassowary cassowary 1 Jan 12:34 004
.-----x--- 0 cassowary cassowary 1 Jan 12:34 010
.----w---- 0 cassowary cassowary 1 Jan 12:34 020
.---r----- 0 cassowary cassowary 1 Jan 12:34 040
.--x------ 0 cassowary cassowary 1 Jan 12:34 100
.-w------- 0 cassowary cassowary 1 Jan 12:34 200
.r-------- 0 cassowary cassowary 1 Jan 12:34 400
.rwxrwxrwx 0 cassowary cassowary 1 Jan 12:34 all-permissions
d--------- - cassowary cassowary 1 Jan 12:34 forbidden-directory
.--------- 0 cassowary cassowary 1 Jan 12:34 no-permissions
Permissions Size User Group Date Modified Name
.--------x 0 cassowary cassowary 1 Jan 12:34 001
.-------w- 0 cassowary cassowary 1 Jan 12:34 002
.------r-- 0 cassowary cassowary 1 Jan 12:34 004
.-----x--- 0 cassowary cassowary 1 Jan 12:34 010
.----w---- 0 cassowary cassowary 1 Jan 12:34 020
.---r----- 0 cassowary cassowary 1 Jan 12:34 040
.--x------ 0 cassowary cassowary 1 Jan 12:34 100
.-w------- 0 cassowary cassowary 1 Jan 12:34 200
.r-------- 0 cassowary cassowary 1 Jan 12:34 400
.rwxrwxrwx 0 cassowary cassowary 1 Jan 12:34 all-permissions
d--------- - cassowary cassowary 1 Jan 12:34 forbidden-directory
.--------- 0 cassowary cassowary 1 Jan 12:34 no-permissions