On Wed, Oct 22, 2025 at 09:35:59PM +0200, Walter Alejandro Iglesias wrote:
> Hello list,
> 
> Is the message below expected when moving a file to an ext2 file system?
> 
>   $ doas mount -t ext2fs /dev/sd1i /mnt
>   $ mv file /mnt
>   mv: /mnt/file: set flags: Operation not permitted

Yes, if the file has flags set which ext2 doesn't support.

See chflags(1) for more details.

And use:

$ ls -lo

on the source files before moving them if you want to see which flags are set
to display the file flags before moving more files that might have them set.

Reply via email to