You are not logged in.
I'm banging my head against the wall wit this one.
I have a file ~/.config/chromium/Default/User StyleSheets/Custom.css
$ cd "~/.config/chromium/Default/User StyleSheets"
$ ls -l
total 0
-rw-r--r-- 1 evan users 0 Sep 22 18:27 Custom.css
$ rm -v Custom.css
removed 'Custom.css'
$ ls -l
total 0
-rw-r--r-- 1 evan users 0 Sep 22 18:27 Custom.css
$ cd ..
$ rm -rfv "User Stylehseets"
removed ‘User StyleSheets/Custom.css’
rm: cannot remove ‘User StyleSheets/’: Directory not empty
$ cd "User StyleSheets"
$ mv Custom.css testing.wtf
$ ls
Custom.css testing.wtf
$ rm -v *
removed ‘Custom.css’
removed ‘testing.wtf’
$ ls
Custom.css
$ cd ..
$ mv "User StyleSheets" testing
$ ls
User StyleSheets testing
$ rm -rf *
removed ‘testing/Custom.css’
removed directory: ‘testing/’
removed ‘User StyleSheets/Custom.css’
removed directory: ‘User StyleSheets/’
$ ls
User StyleSheetsWhat is going on here? Why can't I get rid of this file!
Last edited by EvanPurkhiser (2013-09-22 23:45:38)
Offline
is it marked as immutable (chattr)?
Offline
Are there any chromium processes running? Maybe something is noticing the file being deleted, and an invisible hand is recreating it. I would expect a different date on the file, but the listings you show could have all occurred within the same minute (18:27). If they were different I would be certain. As it is, it is non-deterministic.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Maybe you can use 'lsof' to see what process - if any - uses this file.
Offline
Are there any chromium processes running? Maybe something is noticing the file being deleted, and an invisible hand is recreating it. I would expect a different date on the file, but the listings you show could have all occurred within the same minute (18:27). If they were different I would be certain. As it is, it is non-deterministic.
You're right. There was a chrome process open, and it was re-creating it.
Thanks. I feel rather dumb =P
Offline