Results of 1 - 10 of about 14 for perms (0.001 sec.)
- ファイルのパーミッションを取得する 12743
- « fileowner filesize » PHP Manual ファイルシステム 関数 ファイルのパーミッションを取得する 検索 fileperms (PHP 4, PHP 5, PHP 7, PHP 8) fileperms — ファイルのパーミッションを取得する 説明 function fileperms ( string $filename ): int | false
... 外 失敗したときは E_WARNING が発生します。 例 例1 八進形式でのパーミッションの表示 <?php echo substr ( sprintf ( '%o' , fileperms ( '/tmp' )), - 4 ); echo substr ( sprintf ( '%o' , fileperms ( '/etc/passwd' )), - 4 ); ?> 上の例の出力は以下となります。 ... 1777 0644 例2 完全なパーミッションの表示 <?php $perms = fileperms ( '/etc/passwd' ); switch ( $perms & 0xF000 ) { case 0x1000 : $info = 'p' ; break; // FIFO パイプ case 0x2000 ... // シンボリックリンク case 0xC000 : $info = 's' ; break; // ソケット // 不明 default: $info = 'u' ; } // 所有者 $setuid = $perms & 0x0800 ; $info .= (( $perms & 0x0100 ) ? 'r' : '-' ); $info .= (( $perms & 0x0080 ) ? 'w' : '-' ); $info .= (( $perms & ...
-
https://man.mtool.work/php/8.3/function.fileperms.html
- ファイルのパーミッションを取得する 12691
- « fileowner filesize » PHP Manual ファイルシステム 関数 ファイルのパーミッションを取得する 検索 fileperms (PHP 4, PHP 5, PHP 7, PHP 8) fileperms — ファイルのパーミッションを取得する 説明 function fileperms ( string $filename ): int | false
... 外 失敗したときは E_WARNING が発生します。 例 例1 八進形式でのパーミッションの表示 <?php echo substr ( sprintf ( '%o' , fileperms ( '/tmp' )), - 4 ); echo substr ( sprintf ( '%o' , fileperms ( '/etc/passwd' )), - 4 ); ?> 上の例の出力は以下となります。 ... 1777 0644 例2 完全なパーミッションの表示 <?php $perms = fileperms ( '/etc/passwd' ); switch ( $perms & 0xF000 ) { case 0x1000 : $info = 'p' ; break; // FIFO パイプ case 0x2000 ... // シンボリックリンク case 0xC000 : $info = 's' ; break; // ソケット // 不明 default: $info = 'u' ; } // 所有者 $setuid = $perms & 0x0800 ; $info .= (( $perms & 0x0100 ) ? 'r' : '-' ); $info .= (( $perms & 0x0080 ) ? 'w' : '-' ); $info .= (( $perms & ...
-
https://man.mtool.work/php/8.3/function.fileperms.html
- Gets the acl associated with a node synchronously 8892
- « Zookeeper::get Zookeeper::getChildren » PHP Manual Zookeeper Gets the acl associated with a node synchronously 検索 Zookeeper::getAcl (PECL zookeeper >= 0.1.0) Zookeeper::getAcl — Gets the acl associated with a node synchronously 説明 pub
... per::getAcl() example Get ACL of a node. <?php $zookeeper = new Zookeeper ( 'localhost:2181' ); $aclArray = array( array( 'perms' => Zookeeper :: PERM_ALL , 'scheme' => 'world' , 'id' => 'anyone' , ) ); $path = '/path/to/newnode' ; $zookeeper -> setAc ... cl ( $path ); if ( $r ) var_dump ( $r ); else echo 'ERR' ; ?> 上の例の出力は以下となります。 array(1) { [0]=> array(3) { ["perms"]=> int(31) ["scheme"]=> string(5) "world" ["id"]=> string(6) "anyone" } } 参考 Zookeeper::create() - Create a node synchr ... ode path array acl synchronously getAcl associated zookeeper Gets string get name method emits ZookeeperException aclArray perms scheme world ...
-
https://man.mtool.work/php/8.3/zookeeper.getacl.html
- Gets the acl associated with a node synchronously 8892
- « Zookeeper::get Zookeeper::getChildren » PHP Manual Zookeeper Gets the acl associated with a node synchronously 検索 Zookeeper::getAcl (PECL zookeeper >= 0.1.0) Zookeeper::getAcl — Gets the acl associated with a node synchronously 説明 pub
... per::getAcl() example Get ACL of a node. <?php $zookeeper = new Zookeeper ( 'localhost:2181' ); $aclArray = array( array( 'perms' => Zookeeper :: PERM_ALL , 'scheme' => 'world' , 'id' => 'anyone' , ) ); $path = '/path/to/newnode' ; $zookeeper -> setAc ... cl ( $path ); if ( $r ) var_dump ( $r ); else echo 'ERR' ; ?> 上の例の出力は以下となります。 array(1) { [0]=> array(3) { ["perms"]=> int(31) ["scheme"]=> string(5) "world" ["id"]=> string(6) "anyone" } } 参考 Zookeeper::create() - Create a node synchr ... 関連キーワード: Zookeeper node path synchronously getAcl associated zookeeper Gets method emits ZookeeperException aclArray perms scheme world anyone setAcl getChildren Expressed slashes separating ancestors Return success failure ...
-
https://man.mtool.work/php/8.3/zookeeper.getacl.html
- Sets the acl associated with a node synchronously 8840
- « Zookeeper::set Zookeeper::setDebugLevel » PHP Manual Zookeeper Sets the acl associated with a node synchronously 検索 Zookeeper::setAcl (PECL zookeeper >= 0.1.0) Zookeeper::setAcl — Sets the acl associated with a node synchronously 説明 p
... er::setAcl() example Set ACL for a node. <?php $zookeeper = new Zookeeper ( 'localhost:2181' ); $aclArray = array( array( 'perms' => Zookeeper :: PERM_ALL , 'scheme' => 'world' , 'id' => 'anyone' , ) ); $path = '/path/to/newnode' ; $zookeeper -> setAc ... cl ( $path ); if ( $r ) var_dump ( $r ); else echo 'ERR' ; ?> 上の例の出力は以下となります。 array(1) { [0]=> array(3) { ["perms"]=> int(31) ["scheme"]=> string(5) "world" ["id"]=> string(6) "anyone" } } 参考 Zookeeper::create() - Create a node synchr ... acl synchronously setAcl array associated zookeeper Sets set string int name 場合 method emits ZookeeperException aclArray perms ...
-
https://man.mtool.work/php/8.3/zookeeper.setacl.html
- Sets the acl associated with a node synchronously 8787
- « Zookeeper::set Zookeeper::setDebugLevel » PHP Manual Zookeeper Sets the acl associated with a node synchronously 検索 Zookeeper::setAcl (PECL zookeeper >= 0.1.0) Zookeeper::setAcl — Sets the acl associated with a node synchronously 説明 p
... er::setAcl() example Set ACL for a node. <?php $zookeeper = new Zookeeper ( 'localhost:2181' ); $aclArray = array( array( 'perms' => Zookeeper :: PERM_ALL , 'scheme' => 'world' , 'id' => 'anyone' , ) ); $path = '/path/to/newnode' ; $zookeeper -> setAc ... cl ( $path ); if ( $r ) var_dump ( $r ); else echo 'ERR' ; ?> 上の例の出力は以下となります。 array(1) { [0]=> array(3) { ["perms"]=> int(31) ["scheme"]=> string(5) "world" ["id"]=> string(6) "anyone" } } 参考 Zookeeper::create() - Create a node synchr ... 関連キーワード: Zookeeper node path synchronously setAcl associated zookeeper Sets method emits ZookeeperException aclArray perms scheme world anyone getAcl setDebugLevel Expressed slashes separating ancestors expected 成功 warning ...
-
https://man.mtool.work/php/8.3/zookeeper.setacl.html
- ファイル固有のパーミッションビットを設定する 8629
- « PharFileInfo PharFileInfo::compress » PHP Manual PharFileInfo ファイル固有のパーミッションビットを設定する 検索 PharFileInfo::chmod (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) PharFileInfo::chmod — ファイル固有のパーミッションビット
... を設定する 説明 public function PharFileInfo::chmod ( int $perms ): void PharFileInfo::chmod() は、ファイルパーミッションのうち実行ビットと読み込みビットを設定します。 書き込みビットについ ... 設定 phar.readonly がオフでなければなりません。 PharData アーカイブ内のファイルについては、この制約はありません。 パラメータ perms パーミッション ( chmod() を参照ください)。 戻り値 値を返しません。 例 例1 PharFileInfo::chmod() の例 <?php // 確実に消して ... 力は以下となります。 bool(true) 関連キーワード: ビット PharFileInfo phar chmod パーミッション 固有 php brandnewphar file sh perms 書き込み readonly Phar アーカイブ echo Search compress function int ...
-
https://man.mtool.work/php/8.3/pharfileinfo.chmod.html
- ファイル固有のパーミッションビットを設定する 8629
- « PharFileInfo PharFileInfo::compress » PHP Manual PharFileInfo ファイル固有のパーミッションビットを設定する 検索 PharFileInfo::chmod (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.0.0) PharFileInfo::chmod — ファイル固有のパーミッションビット
... を設定する 説明 public function PharFileInfo::chmod ( int $perms ): void PharFileInfo::chmod() は、ファイルパーミッションのうち実行ビットと読み込みビットを設定します。 書き込みビットについ ... 設定 phar.readonly がオフでなければなりません。 PharData アーカイブ内のファイルについては、この制約はありません。 パラメータ perms パーミッション ( chmod() を参照ください)。 戻り値 値を返しません。 例 例1 PharFileInfo::chmod() の例 <?php // 確実に消して ... 上の例の出力は以下となります。 bool(true) 関連キーワード: ビット PharFileInfo phar chmod パーミッション 固有 brandnewphar perms 書き込み readonly Phar アーカイブ compress ファイルパーミッション 実行時 自動的 操作 オフ PharData 制約 unlink local dump ...
-
https://man.mtool.work/php/8.3/pharfileinfo.chmod.html
- Create a node synchronously 7579
- « Zookeeper::__construct Zookeeper::delete » PHP Manual Zookeeper Create a node synchronously 検索 Zookeeper::create (PECL zookeeper >= 0.1.0) Zookeeper::create — Create a node synchronously 説明 public function Zookeeper::create ( string $
... per::create() example Create a new node. <?php $zookeeper = new Zookeeper ( 'localhost:2181' ); $aclArray = array( array( 'perms' => Zookeeper :: PERM_ALL , 'scheme' => 'world' , 'id' => 'anyone' , ) ); $path = '/path/to/newnode' ; $realPath = $zookee ...
-
https://man.mtool.work/php/8.3/zookeeper.create.html
- Create a node synchronously 7579
- « Zookeeper::__construct Zookeeper::delete » PHP Manual Zookeeper Create a node synchronously 検索 Zookeeper::create (PECL zookeeper >= 0.1.0) Zookeeper::create — Create a node synchronously 説明 public function Zookeeper::create ( string $
... per::create() example Create a new node. <?php $zookeeper = new Zookeeper ( 'localhost:2181' ); $aclArray = array( array( 'perms' => Zookeeper :: PERM_ALL , 'scheme' => 'world' , 'id' => 'anyone' , ) ); $path = '/path/to/newnode' ; $realPath = $zookee ...
-
https://man.mtool.work/php/8.3/zookeeper.create.html