I am using ubuntu.
I moved all my C programs/coded which was in a folder from one partition to another, after that all my files have -rw-------
the owner has just the read and write permission, even though I used chmod 777
on all my files the permission remains the same -rw-------
. I also tried chown
. I tried both the commands as superuser.
Due to this permission change I can't run any of my executable. Even when I compile and generate the executable it still has the same -rw-------
permission.
How can i change the permissions now? How to solve this issue ?