#Mount Examples
    
    #CIFS Mount with specific UID&GID
    sudo mount -t cifs -o username=xtp,password=xtp,uid=33,gid=33,rw,dir_mode=0775,forceuid,forcegid //example.com/xtp/repository /mnt/repository/
    sshfs -o umask=002,uid=33,gid=33 [email protected]:/repository /mnt/repository/
    
    #NFS Mount
    mount -t nfs example.com:/volume3/xtp/repository /mnt/repository/ -vv

#/etc/fstab
    //example.com/xtp/repository /ext cifs username=xtp,password=xtp,uid=33,gid=33,iocharset=utf8,file_mode=0775,dir_mode=0775 0 0

标签: none

评论已关闭