On 10/24/23 07:06, Manfred Wassmann via Dng wrote:
> you may have an attribute (immutable) set. Try 'man chattr'. HTH
>
> On Tuesday, October 24, 2023, Fred <fred@???
> <mailto:fred@blakemfg.com>> 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
> _______________________________________________
> Dng mailing list
> Dng@??? <mailto:Dng@lists.dyne.org>
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> <https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng>
>
>
>
> --
> sent from mobile
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Hi,
I tried chattr -i /mnt/dns321/pdf_6/ELCON_UL9_cap.pdf
I received permission denied. It doesn't appear to me the other chattr
options apply.
lsattr by root also gives permission denied.
Best regards,
Fred