[Cialug] Can't Edit Permissions on NFS Share

Todd Walton tdwalton at gmail.com
Tue Oct 4 13:50:16 CDT 2016


The stuff from the HOWTO has all been checked. No further help there. The
NFS logs get turned on by "rpcdebug -m nfs all" (and turned off by
"rpcdebug -m nfs -c all"). When it's on messages show up in
/var/log/messages. Trying to chmod one file, I see this in
/var/log/messages:

Oct  4 13:30:43 ORAPROD01 kernel: NFS: permission(0:13/16), mask=0x1, res=0
Oct  4 13:30:43 ORAPROD01 kernel: NFS: nfs_lookup_revalidate(/AXSPROD) is
valid
Oct  4 13:30:43 ORAPROD01 kernel: NFS: permission(0:13/5029), mask=0x1,
res=0
Oct  4 13:30:43 ORAPROD01 kernel: NFS:
nfs_lookup_revalidate(AXSPROD/AXSPROD_DB_13338_1_923098833.RMAN) is valid
Oct  4 13:30:43 ORAPROD01 kernel: NFS: revalidating (0:13/59687)
Oct  4 13:30:43 ORAPROD01 kernel: NFS call  getattr
Oct  4 13:30:43 ORAPROD01 kernel: NFS reply getattr: 0
Oct  4 13:30:43 ORAPROD01 kernel: NFS: nfs_update_inode(0:13/59687 ct=1
info=0x7e7f)
Oct  4 13:30:43 ORAPROD01 kernel: NFS: (0:13/59687) revalidation complete
Oct  4 13:30:43 ORAPROD01 kernel: NFS:
dentry_delete(AXSPROD/AXSPROD_DB_13338_1_923098833.RMAN, 8)
Oct  4 13:30:43 ORAPROD01 kernel: NFS: permission(0:13/16), mask=0x1, res=0
Oct  4 13:30:43 ORAPROD01 kernel: NFS: nfs_lookup_revalidate(/AXSPROD) is
valid
Oct  4 13:30:43 ORAPROD01 kernel: NFS: permission(0:13/5029), mask=0x1,
res=0
Oct  4 13:30:43 ORAPROD01 kernel: NFS:
nfs_lookup_revalidate(AXSPROD/AXSPROD_DB_13338_1_923098833.RMAN) is valid
Oct  4 13:30:43 ORAPROD01 kernel: NFS call  setattr
Oct  4 13:30:43 ORAPROD01 kernel: NFS reply setattr: -13
Oct  4 13:30:43 ORAPROD01 kernel: NFS:
dentry_delete(AXSPROD/AXSPROD_DB_13338_1_923098833.RMAN, 8)

Per the RFC, the reply setattr code of 13 is the point where it says
"permission denied". I don't know what the other stuff means.

--
Todd


On Tue, Oct 4, 2016 at 11:13 AM, Andrew Denner <linux-list at upeke.com> wrote:

> Do the nfs logs show any useful information?
>
> Also the NFS Howto section on troubleshooting may help:
> http://nfs.sourceforge.net/nfs-howto/ar01s07.html#pemission_issues
>
> On Tue, Oct 4, 2016 at 10:28 AM, Todd Walton <tdwalton at gmail.com> wrote:
>
> > I have an NFS share exported from a remote server. It's sharing from the
> > server with options "rw,no_root_squash,no_all_squash,secure". "secure"
> > means "Allow Connections from ports below 1024". I have this share
> mounted
> > locally with options
> > "rw,vers=3,rsize=1048576,wsize=1048576,hard,proto=tcp,
> > timeo=600,retrans=2,sec=sys".
> >
> > Seems all good. But when I try to change permissions on a file that I
> own I
> > get "Permission denied". Permissions are currently 755, I am the owner,
> and
> > I'm changing to 775. But permission denied.
> >
> > I can't figure out what's going wrong where. Any suggestions?
> >
> > --
> > Todd
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list