If you have physical access to the NAS box, and can remove the drive
holding these files, and can install it directly on a computer you do
have root access to, then you should be able to change the permissions
using the method you have tried over cifs (chown/chmod). Otherwise, I
believe you'll need either root access to the NAS box, or you'll need to
login as uid 501 (the owner of the file you listed) to change its
permissions.
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
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>