I am trying to put together a bash script to backup a few NFS shares. I am still working through this and have been learning bash as I go. The shares are mounted as read-only. The script uses rsync to copy files from the NFS device to a Drobo mounted over iSCSI. I ran a test backup and it didn't really work, but now I can't get rid of the backup files because they are read-only. I have tried changing the permissions, but when i try:, I get a long print out of each file like:
. Right now I just want to delete these backups, later I will worry about reworking my script. Does anyone have any advice?
cannot remove <file> read-only filesystem