Of course right after I hit send I had another thought. I have a possible
answer.

Somehow I was not the owner of the directory the file was in, and didn't
have write permission to the directory (drwxr-xr-x), even though I owned
and had write permission to the file. That has been corrected, still have
to wait to see, but I think that should fix it.

Paul

On Tue, Jan 5, 2021 at 5:34 PM Paul Boniol <[email protected]> wrote:

> I listened to an mp3 (recorded from the earlier adventure in automatically
> running VLC). Close VLC.
>
> I went to delete the file in Thunar file manager, and the delete and trash
> options were grayed out for the file. So I went to the command line, cd'd
> to the directory.
> ls -lh filename
> -rw-rw-r-- 1 paul paul 220M (etc.)
>
> rm filename
> rm: cannot remove 'filename': Permission denied
>
> I was immediately able to sudo rm the file. My first thought was somehow I
> didn't have write permission, but I'm logged in as the file owner, and it
> obviously says I have user and group write permission.
>
> Any thoughts on what could cause this?  (That file is gone now, so I can't
> do any other prodding, and I'm not ready to delete another from the
> directory yet.)
>
> Paul
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nlug-talk/CAL9PgS2OEWNwHdKOrte%2BetsXbyGfCO-zHMcr83iN5gtakkanoA%40mail.gmail.com.

Reply via email to