Find the answer to your Linux question:
Results 1 to 2 of 2
I currently would like to set up a Win2K machine at home so that I can mount it's shares in Linux. Code: //pc2/media /mnt smbfs username=administrator,user 0 0 When I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319

    mounting samba


    I currently would like to set up a Win2K machine at home so that I can mount it's shares in Linux.

    Code:
    //pc2/media  /mnt  smbfs  username=administrator,user  0  0
    When I try to mount this as a normal user, I get the following error:
    Code:
    cannot mount on /mnt/smb: Operation not permitted
    smbmnt failed: 1
    Is there a way to fix this?
    The best things in life are free.

  2. #2
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    I partially solved this problem by doing the following:

    1. Create a directory for mounting where the permissions read and write are set for the current user
    Code:
    $ mkdir ~/smb
    2. I then use the smbmount command to mount the Windows share
    Code:
    $ smbmount //machine/share ~/smb -o username=administrator
    Must admit, this works pretty nicely.
    The best things in life are free.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •