I have copied a file from a windows system to my mac system. I want to rename this file but it is probably read only. How can I rename the file?
I tried it through terminal also but got the error
mv: rename education.jpg to logo.jpg: Operation not permitted
ls -dla .andls -dla education.jpg. looking at the permissions and ownership of the files and directories involved would make this simple to solve. – Dan D. Sep 26 '11 at 8:22ls -dla .and the ownership of the files is important as mode-rwx------says that the owner of this file has read write and execute permission but the group or world has none but it doesn't say who the owner is and without that it's not possible to answer that. – Dan D. Sep 26 '11 at 8:50espireinfolabsthe same as your current user as stated bywhoami? otherwise you should take ownership of the files and directories by doingsudo chown $(whoami) <copied_files_and_directories>. – Dan D. Sep 26 '11 at 9:07