Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2021 13:33:11 -0800
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   mount: Operation not permitted
Message-ID:  <17812.1638221591@segfault.tristatelogic.com>

next in thread | raw e-mail | index | archive | help
I have a shell script that uses rsync to make backups of all of the
several partitions on my main drive to a second removable drive.
The script goes one-by-one through the partitions, mounting each
corresponding backup partition in turn, running rsync, and then
umount'ing that backup partition.

Mostly this script works well, but every so often, seemingly at random, the
mount command for one or more of the backup partitions fails for no apparently
good reason, and I get the message "mount: Operation not permitted".  If I
retry the same thing a little later it invariably works.

What am I doing wrong and how can I fix it?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17812.1638221591>