I'm trying to edit some files with scratch, but it says "you cannot save changes on file" "do you want to save changes to this file in a different location.
Maybe you have sticky bit on the folder? To remove it try to run this on the folder:
chmod -t <folder_path>
just give file premission to 777 vai teminal i think your problem will be solve(chmod 777 filename)