I have a weird one and at this point i'm not sure if its a bug or a feature.
i have two NFS mountpoints from two different Netapp filers.
on one netapp filer mountpoint, a user who owns the mountpount directory may create a file in the mountpoint and then chown that file to any other user(including root). ie:
but on any other netapp filer or local jfs2 mountpoints(like say /tmp), this ability is prohibited as i would expect, regardless of the permissions on the directory(far as i can tell!)
at this point we can't find any difference in the way this mountpoint is mounted or created on the netapp side.. the netapp versions between two filers are the same, the qtrees have the same export rules and both are mounted with the same options.. yet different results
is there some rule that in AIX a user should be allowed to do this in some cases?
i have two NFS mountpoints from two different Netapp filers.
on one netapp filer mountpoint, a user who owns the mountpount directory may create a file in the mountpoint and then chown that file to any other user(including root). ie:
Code:
eddprf@server:/eddprf > ls -la
total 32
drwxrwxrwx 4 eddprf eddprf 4096 Jan 21 10:22 .
drwxr-xr-x 51 root system 4096 Jan 21 12:44 ..
eddprf@server:/eddprf > touch testfile
eddprf@server:/eddprf > ls -la
total 32
drwxrwxrwx 4 eddprf eddprf 4096 Jan 24 10:59 .
drwxr-xr-x 51 root system 4096 Jan 21 12:44 ..
-rw-rw-r-- 1 eddprf eddprf 0 Jan 24 10:59 testfile
eddprf@server:/eddprf > chown root testfile
eddprf@server:/eddprf > ls -la
total 32
drwxrwxrwx 4 eddprf eddprf 4096 Jan 24 10:59 .
drwxr-xr-x 51 root system 4096 Jan 21 12:44 ..
-rw-rw-r-- 1 root eddprf 0 Jan 24 10:59 testfile
eddprf@server:/eddprf > rm testfile
eddprf@server:/eddprf > ls -la
total 32
drwxrwxrwx 4 eddprf eddprf 4096 Jan 24 10:59 .
drwxr-xr-x 51 root system 4096 Jan 21 12:44 ..
eddprf@server:/eddprf >
but on any other netapp filer or local jfs2 mountpoints(like say /tmp), this ability is prohibited as i would expect, regardless of the permissions on the directory(far as i can tell!)
at this point we can't find any difference in the way this mountpoint is mounted or created on the netapp side.. the netapp versions between two filers are the same, the qtrees have the same export rules and both are mounted with the same options.. yet different results
is there some rule that in AIX a user should be allowed to do this in some cases?