Permissions when moving storage devices between hosts
O'Connor, Daniel
darius at dons.net.au
Mon Oct 28 00:26:19 UTC 2019
> On 27 Oct 2019, at 03:09, bob prohaska <fbsd at www.zefox.net> wrote:
> The plan was to re-run the bonnie test on the second host to see if the
> choice of host made much difference. Alas, after mounting the card, all
> owners/groups are freebsd/freebsd and I can't get permission to write
> any files, at least as a regular user. The usernames are the same on
> both hosts and I'm hesitant to try mucking about with ownerships.
> It does not seem possible to simply add world-write permissions to the
> test directory using chmod +w as root.
Is it mounted read/write?
ie show the output of 'mount'.
Also note that the filesystem only stores user IDs not user names.
ie you might have a user called 'freebsd' on two systems but with different IDs and if you move an FS between them you can have issues.
That said, root should be able to change the permissions (or just write since being root skips permission checks). If it can't then it seems more like it isn't mounted read/write for whatever reason (write protect tab on the SD card set by accident?)
--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
More information about the freebsd-arm
mailing list