Strong testing with --bind, --rbind of shfs mount's was fail
Status: Beta
Brought to you by:
qiq
For catch my bug, you must be execute next command's
1. shfsmount /u02/temp (with
user,preserve,uid=someuser,gid=somegroup,rmode=755)
2. mount --rbind /u02/temp/ /home/chroot/u02/temp
3. chroot /home/chroot
4. su - someuser
5. go to /home/chroot/u02/temp
try write to dir, got fail.
Directory contents clearing ..... What's happened?
Please describe, if this not a bug!
Logged In: YES
user_id=1235854
more accuracy commands for steps:
1. shfsmount -n -p -P 8022
root@192.168.1.109:/opt/backup/ORCL /u02/backup -o
preserve,uid=oracle,gid=oinstall,rmode=755,nosuid,nodev,nosexec,user
2. mount --rbind /u02 /home/virtual/u02
using ssh-key w/o password for now