Author: Rob Date: To: dng@lists.dyne.org Subject: Re: [DNG] How to force permission change?
Sent from ProtonMail, encrypted email based in Switzerland.
------- Original Message -------
On Tuesday, October 24th, 2023 at 14:52, Fred <fred@???> wrote:
> Hello,
>
> I have some files on a NAS box that have funky permissions that prevent
> access to them. They can't be read by xpdf or others.
>
> root@ragnok:/home/fred# ls -l /mnt/dns321/pdf_6/ELCON_UL9_cap.pdf
> -rw------- 1 501 501 451089 Feb 17 2009 /mnt/dns321/pdf_6/ELCON_UL9_cap.pdf
>
> root@ragnok:/home/fred# chown fred /mnt/dns321/pdf_6/ELCON_UL9_cap.pdf
> chown: changing ownership of '/mnt/dns321/pdf_6/ELCON_UL9_cap.pdf':
> Permission denied
>
> root@ragnok:/home/fred# chmod 664 /mnt/dns321/pdf_6/ELCON_UL9_cap.pdf
> chmod: changing permissions of '/mnt/dns321/pdf_6/ELCON_UL9_cap.pdf':
> Permission denied
>
> How to force change of permissions and/or ownership?
>
> Best regards,
> Fred