LinuxからWindowsの共有フォルダをmountしたときに読み取り専用になる場合の対処

rootでmountした場合、mountしたファイルのアクセス権限が、一般ユーザは読み取り専用となる。一般ユーザでmountすればよいが、そのためにはfstabに相応の記述が必要(userオプションありで記述する)。また、これだけだと、mountしようとすると「This program is not installed setuid root - "user" CIFS mounts not supported.」と言われるので、chmod u+s /sbin/mount.cifsを実行する必要がある。