2010年10月10日日曜日

ubuntu x64

メインマシンを更新。
Phenom x6 だ。
ubuntu x64 10.04LTSをベースに仮想でWindowsを動かそうという計画である。

そこで早速、これまで使っていたDドライブ(NTFS,2TB)を追加してみた。
何もせずに、さらっと認識。
ところがsambaでwindowsから接続ができない。
起動ドライブ(ext4)にある公開フォルダは読み書き出来ている。
なぜだろう。

'net usershare' はエラー 255 を返しました: net usershare add: cannot share path /media/ローカル ディスク/DLGames as we are restricted to only sharing directories we own.
Ask the administrator to add the line "usershare owner only = false"
to the [global] section of the smb.conf to allow this.

とのことなので指示にしたがってみる。
sudo gedit /etc/samba/smb.conf
で編集し、
sudo service smbd restart
でsambaの再起動をかける。

共有に成功しました!!