nfs share does not send along file permissions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
portmap (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
So here is the thing
i am trying to set up a nfs share in my house between a server and a client. I have used nfs before and never ran into any problems what so ever. Now on the other hand i get lots of problems.
I am sharing the foler /mnt from the server as i would like to access the mounted disks on my server. As i mount it on the client as /mnt/server the file permissions dont come along - all the folders in /mnt from the server show up, but they are all empty and they are owned by root. On the server they are owned by one of the local users.
on the client
larsemil@
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sdc1
UUID=cc870487-
#nfs mount
192.168.1.68:/mnt /mnt/server nfs hard,intr,users,rw 0 0
larsemil@
uid=1000(larsemil) gid=1000(larsemil) groups=
and on the server:
larsemil@gandalf:~$ cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(
# /srv/nfs4/homes gss/krb5i(rw,sync)
#
/mnt 192.168.
larsemil@gandalf:~$ id larsemil
uid=1000(larsemil) gid=1000(larsemil) grupper=
Both computers run:
larsemil@
Description: Ubuntu 8.10
Release: 8.10
Allthough the client is a networkinstall of ubuntu and is not a complete ubuntu-desktop if that could matter
of course this could be a user error, but as i have done this several times and also have looked around on every guide there is and also asked some people i have no solution to this.
affects: | ubuntu → nfs-utils (Ubuntu) |
affects: | nfs-utils (Ubuntu) → portmap (Ubuntu) |
just tried to share something else then /mnt and that worked fine so it seems to just happen when trying to share /mnt