Skribent: Fred
Dato:
Til: dng
Emne: [DNG] How to force permission change?
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