Hi, We again exported the path as anon=0,unmounted and mounted, but still the root level of user is unable to change the Ownership.
On Mon, Jun 9, 2014 at 4:47 PM, Malcolm Beattie <beatt...@uk.ibm.com> wrote: > Jake anderson writes: > > Recently we did a migration from one NFS storage server to another NFS > > storage server. During this Migration all the copied File had owners as > > root. In the recent NFS storage server the FTP server option is no more > > available so we have mounted the NFS storage to a linux running on VMware > > infra(as a ftp server). So when we try change the owner of any file > > mounted to Linux we get a permission denied(Even when we try it as root). > > The message we get is "permission denied"(This is the only message). The > ls > > -l clearly gives that all the file has the owner as root. > > > > Has any undergone this situation ? Why a root cannot change the > owner(root) > > to someother ID ? > > Since the files have the User and Group copied from previous NFS storage. > > Aren't there anyways to change the Owner and Group from Linux ? > > It's the NFS server that's forbidding it. It's very common in all > but the snazziest of NFS environments for the NFS server to "squash" > the root user of NFS clients and treat it as an unprivileged, > anonymous user. This avoids having a root user on any NFS client > getting root-level access to all exported files on the server. > > For a Linux-based NFS server, the export options "root_squash" > (which is the default) and "all_squash" (probably not the case here) > do this. You need an explicit export option "no_root_squash" to allow > root on the chosen NFS clients to be allowed to chown and access > exported files as though they were uid 0 on the server. Other NFS > servers or appliances may present the option differently. > > --Malcolm > > -- > Malcolm Beattie > Linux and System z Technical Consultant > IBM UK Systems and Technology Group > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/