Thursday, March 5, 2009

permission change without chmod

is it possible to change the permission of a file without using chmod command ?

pk

Sure, just write a C program that does that, give it a name different from "chmod", and call it. Or use a graphical file manager, right click, "properties" -> "permissions..." and change the permissions.

Michael black

You can change permission with lynx, though of course only if you have permission to do it (ie you are the owner of the file, or root). I'm sure MC can do it too.


The natural philosopher

You could remove the disk, and pick through the inode blocks with a hex editor on a hardware emulator..

Or you could recompile the kernel to treat all the file permissions completely differently..or wrote a whole new operating system.

No comments:

Post a Comment