Score:0

Mounting Windows NFS Share to SUSE Linux SLES - nobody:nobody issue - cannot chown

cn flag

Here's my setup:

  1. Windows Server - 192.168.0.57
  2. SUSE SLES15 Server - 192.168.0.5

There is a folder on my Windows server - F:\ARCHIVE

The SUSE server has a user U1 and group GRP1


I want to mount the Windows folder as NFS in my SUSE server. I want to set its ownership to U1:GRP1.


Here's what I have done:

I have shared this folder via NFS as NFS_ARCHIVE: https://i.stack.imgur.com/xLGyq.png

The Share permissions are: Host 192.168.0.5 Read/Write with Root Access: https://i.stack.imgur.com/dw4gv.png

On the SUSE server, I used the following command to mount it:

mount -t nfs 192.168.0.57:/NFS_ARCHIVE  /mnt/archive

This mounts correctly. However, the folder permissions are nobody:nobody. And when I try to change its ownership to U1:GRP1 using chown/chmod commands, it gives me a permission denied error:

sudo chown -R U1:GRP1 /mnt/archive
sudo chmod -R 771 /mnt/archive

I tried setting the Windows Security Permissions to EVERYONE - FULL CONTROL and then tried sudo chown, chmod. It still didn't work.

Please guide me. I have been searching around for a while but the case of Windows NFS mounted on Linux is not that well-covered.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.