Can you delete a file in linux without having nor permission or root access?
Thank you.
To delete a file ,permissions on files have no importance.To delete a file you should have proper permission (write permission) on directory that is housing it.
You can delete any files without permission in your /home/user/
folder and in /tmp/
folder you can delete some files that aren't owned by root, other than that, big NO.
ls -dl /tmp
gives drwxrwxrwt 12 root root 4096 Jan 3 18:05 /tmp
The t
in drwxrwxrwxt
shows this.
Jan 3, 2013 at 18:10
/home/user/
folder and/tmp/
folder, other than that, big NO.