Subject: Re: bug#25159: chown bug ? or sys glitch ?

From: Assaf Gordon <[email-masked]>
Date: Sun, 28 Oct 2018 01:35:59 -0600

tags 25159 moreinfo
stop

(triaging old bugs)

On 2016-12-10 6:51 a.m., ahfc wrote:
> Maybe a system glitch or a chown bug so just fyi.
> 
> Intention:  change  root:root  to  root:users   on dir struct
> command:  sudo chown -R root:users /run/media/user_name/long_disk_number/*
> 
> ( so mounted through /run/media     but an internal disk  i.e. no
> external usb, or such )
> 
> chown went happily on its way but with a message in between:
> 
> chown: changing ownership of ‘/run/media/rest_/of_/path_/filename ':
> Operation not permitted
> 
> Puzzling, but no time to look into it immediately.
> After sys power off ( and later on again ) I did an
> 
> "ls -hal"  on that specific file: it had become root:users   after all;
> surprisingly !

It seems your message was lost and not replied to in 2 years.
Sorry about that.

If this is still an issue for you, can you provide more details,
in particular what is the file system on /run/media ?

regards,
  - assaf