{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » samba mount Direktori, smbmount
samba mount Direktori, smbmount
Make the directory you want to mount the share to.
mkdir /mnt/share
Next either…
Mount the share with user/pass:
smbmount //winpc/shared /mnt/share -o username=user,password=pass,rw
Or mount the share without a user/pass (this is true if Everyone is still set)
smbmount //winpc/shared /mnt/share -o rw
Hopefully thats it. Now you can use the share. You cannot create symbolic links or chmod the system (this is restriction on the WinXP side).
If you wish to allow users on the linux side access to the share then you will need to alter the options. Adding in uid= or gid= to allow access to users or groups respectively by mounting the drive with there permissions. Here’s an example:
smbmount //winpc/shared /mnt/share -o rw,uid=znx
This will mount the drive as if user znx had done it. Thus he will have rw access to the shared.
Filed under: 7. Operating System