$85 GRAYBYTE WORDPRESS FILE MANAGER $97

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib/node_modules/npm/node_modules/gentle-fs/lib/

HOME
Current File : /lib/node_modules/npm/node_modules/gentle-fs/lib//chown.js
'use strict'

// A module for chowning things we just created, to preserve
// ownership of new links and directories.

const chownr = require('chownr')

const selfOwner = {
  uid: process.getuid && process.getuid(),
  gid: process.getgid && process.getgid()
}

module.exports = (path, uid, gid, cb) => {
  if (selfOwner.uid !== 0 ||
      uid === undefined || gid === undefined ||
      (selfOwner.uid === uid && selfOwner.gid === gid)) {
    // don't need to, or can't chown anyway, so just leave it.
    // this also handles platforms where process.getuid is undefined
    return cb()
  }
  chownr(path, uid, gid, cb)
}

module.exports.selfOwner = selfOwner

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
1 Jan 1970 8.00 AM
root / root
0
bin-link.js
2.54 KB
10 Mar 2021 9.36 PM
root / root
0644
chown.js
0.645 KB
10 Mar 2021 9.36 PM
root / root
0644
link.js
3.529 KB
10 Mar 2021 9.36 PM
root / root
0644
mkdir.js
0.502 KB
10 Mar 2021 9.36 PM
root / root
0644
rm.js
7.63 KB
10 Mar 2021 9.36 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF