NAS interactions

(Yeah, i know this isnt really a web-hosting question, but…)

I have a small NAS (Buffalo Link Station), which I am attempting to connect to my SuSe 10.3 box.

I can mount it, and have done so in different configurations:

mount.cifs //<IP>/Content/ /content/nas/ -o user=<uname>,password=<pw>,rw
mount.cifs //<IP>/Content/ /content/nas/ -o user=<uname>,password=<pw>,rw,noperm
mount.cifs //<IP>/Content/ /content/nas/ -o user=<uname>,password=<pw>,rw,noperm,nosetuids

However, in each case, when an application (presumably running on the ‘nobody’ level) attempts to move a file from a directory to a subfolder of the NAS, i get told either it cannot move the file at all, or something to the tune of mv: failed to preserve ownership for `/content/nas/<subfolder>/<filename>': Permission denied

The directories on the NAS are 777.
The directory the file is being moved out of is nobody:nogroup 777.
The file itself is 777 (rwxrwSrwt).

Am i missing something obvious here?

If you mount via SMB (CIFS) you may need to set the uid / gid on the target machine, to something the machine knows about.

This can be done using uid and gid - http://opensuse.swerdna.org/susesambacifs.html#permown

mount.cifs //<IP>/Content/ /content/nas/ -o user=<uname>,password=<pw>,rw,uid=nobody

No linux expert, but could it be a CIFS thing? Personally I would start with iSCSI if the volume isn’t really shared or NFS if it is.

Indeed, if it’s linux <-> linux I would go with NFS instead of CIFS. CIFS is more of a Win <-> linux , mac <-> linux kind of thing.