a:5:{s:8:"template";s:0:"";s:4:"text";s:2427:"<p>cygwinを再インストール時に忘れそうなこと - トラブルメモ Cygwin のパーミッション問題 - 計算物理屋の研究備忘録 setfacl </p> <p> Windowsで何でもいいがCygwin以外の普通のソフトで保存したファイルをCygwinでls -lなどで見ると、パーミッションに700などの実行権限がついている。chmod 644などを使って修正することもできるが毎度のことなのでめんどくさい。 Linuxコマンドでカレントディレクトリ内のファイルやディレクトリの情報を確認する。 使用例 $ umask -S u=rwx,g=rwx,o=rx ← その他の部分に書き込み権限が無い $ umask u=rwx,g=rwx,o=rwx ← その他の部分もrwxを指定 $ umask -S u=rwx,g=rwx,o=rwx ← その他の部分もrwxになる $ mkdir dir $ ls -l drwxrwxrwx 2 user1 user1 4096 7月 30 09:21 dir ← ディレクトリのその他の権限部分のデフォルトのアクセス権がrwxになる Cygwinのインストール CygwinのインストーラはCygwinからダウンロードできます。 32ビット版と64ビット版があります。CPU／OSに合わせた方をダウンロードし、インストールします。 懸念事項 … </p> <p>Cygwinのバージョンを確認する方法 † 最近、Windows8にCygwinをインストールしました。 ターミナル(mintty.exe)も最初からインストールされており驚きました。 そこで、今回インストールしたCygwinのバージョンは？ 特に確認する必要はありませんが、 それ以外の方法でインストールした人は Cygwin 本体以外に 以下のパッケージをインストールしておく必要があるので確認してください。 cron; cygrunsrv; インストールは Cygwin 標準の setup.exe から実施しましょう。 ちなみに好きなディレクトリで、lsに-lオプションをつけると以下のファイルやディレクトリのパーミッションの確認ができます $ ls -l drwxr-xr-x 2 user_name group 68 8 30 15:53 common -rw-r--r-- 1 user_name group 0 8 30 15:53 index.js -rw-r--r-- 1 user_name group 0 8 30 15:53 index.php </p> <p>パーミッションに関するコマンドの読み方や変更の方法をまとめてみる。 誰かの役に少しでも立てば・・・ そしてたまに忘れる自分へ・・・・ パーミッションの確認. </p>";s:7:"keyword";s:35:"Cygwin パーミッション 確認";s:5:"links";s:979:"<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
<a href="https://saasvaap.com/wp-content/plugins/post-smtp/636p8s.php?tag=69ea55-"></a>,
";s:7:"expired";i:-1;}