no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | tech:linux:mount_samba_linux_share [2014/11/15 15:13] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Mounting Linux (Ubuntu) Shares in Windows (7) ====== | ||
| + | Allowing a directory in Linux to be accessible in Windows. Let's assume the Linux box is called ulin1 | ||
| + | ===== Initial steps ===== | ||
| + | * First choose the Linux Directory to mount. In this case it is /xyvol/ | ||
| + | * Change the file permissions on this volume to be 770 and group to be root:< | ||
| + | ===== Config file changes ===== | ||
| + | Typically the Samba config file is at: / | ||
| + | Add a section at the end as follows: | ||
| + | < | ||
| + | [mycow] | ||
| + | | ||
| + | path = /xyvol | ||
| + | | ||
| + | </ | ||
| + | |||
| + | Where mycow is the share | ||
| + | |||
| + | ===== Connecting ===== | ||
| + | Now in Windows just point file explorer to \\ulin1\mycow and enter your (linux non root user) user-id and password. | ||
| + | |||
| + | ===== Other considerations ===== | ||
| + | * smbstatus - gives you status of your connections | ||
| + | * On Windows, "net use * /d" will allow you to disconnect the connected samba share (ref: search for " | ||
| + | * Use the / | ||
| + | |||