Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Can you delete a file in linux without having nor permission or root access?
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
drwxrwxrwt 12 root root 4096 Jan 3 18:05 /tmp
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.
Required, but never shown