[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

deploying package with NFS



Hi all,

We've run into an issue here, when we deploy a package (created
in-house) on a system that uses NFS for some filesystems. Due to
root-squashing, the postinst can't create or chmod/chown the files it
needs to.

We can probably avoid it by having the postinst su to the user that will
own the files, and creating them like that, and not using the usuall
installation modules.

I was wondering though whether this issue is normally considered when
making a package? Or is root just assumed to be able to write anywhere?

The packages in question are web sites; we find that's the easiest way
to deploy them. Regular debian packages don't go on NFS in our systems,
so they aren't an issue for us.

Thanks,

Richard



Reply to: