How to change the ownership of files mounted from floppy image
Dear All,
I have mounted a floppy image file as below
$> su
$> /sbin/losetup /dev/loop0 /mnt/win_e/images/grubdos.img
$> mkdir /mnt/floppy
$> mount /dev/loop0 -o loop /mnt/floppy
Floopy image mounted on "/mnt/floppy", now I have tried to create a file inside the floppy image, file created successfully, however I can not change the ownership of the file.
$> cd /mnt/floppy
$> touch hai.txt
$> ll hai.txt
-rwxr-xr-x 1 root root 0 Mar 8 17:29 hai.txt
$> chown user1:user1 hai.txt
chown: changing ownership of 'hai.txt': Operation not permitted
How to change the ownership of the file and folder in mounted floppy image ?
|