Menu

SMB Mount - No Permissions

Help
Naatan
2007-09-04
2013-04-05
  • Naatan

    Naatan - 2007-09-04

    Hi, I've tried two livecd versions of Clonezilla and both have the same problem.

    I'm trying to mount a windows share using smb, I'm using the GUI, the command that's generated is the following:

    mount -t cifs -o username="domain\user.name" //192.168.x.x/diskimages-windows$ /home/partimg

    However this returns an error:

    CIFS VFS: Send in SessSetup = -13
    CIFS VFS: cifs_mount failed w/return code = -13
    mount error 13 = Permission denied
    Refer to the mount.cifs(8) manual page (eg.man mount.cifs)
    Clonezilla image home directory /home/partimag is not a mounting point! Failed to mount other device as /home/partimag!
    Program terminated!
    Unable to mount resource as /home/partimag.
    Are you sure you want to continue
    [y/N]

    Now when I manually enter the command in the command prompt I get the same result, however, when I execute it as root (sudo su -) it works fine!

    So basically the mount command is being executed as a user that does not have sufficient permissions.

    Now I could just do this over the command prompt but I'd much rather user the GUI, plus I don't know how to re-launch the GUI once I've configured the mount in the command prompt.

     
    • Steven Shiau

      Steven Shiau - 2007-09-05
       
    • Naatan

      Naatan - 2007-09-05

      I've tried the stable release as well as 1.0.4-8exp, so this in between version should be no different.

      Does this mean the SMB Mount feature does not work for anyone? That's a pretty big bug

       
      • Steven Shiau

        Steven Shiau - 2007-09-05

        Not really.
        In the stable version TUI does not support domain about samba server. You can manually mount it, but in the TUI, it does not prompt you to do that.
        A lot of people already used that to mount a samber server without domain, and that works. You can try to search in the forum or mailing list.
        The one now in testing branch does support samba domain. Give it a try.

        BTW, clonezilla is run with sudo, so it's run as root. The permission denied is from server, not local.

         
    • Naatan

      Naatan - 2007-09-05

      After seeing the following

      - 1.0.3-29
        - Based on clonezilla 2.2.0-5.
        - Bug fixed: A error when mounting samba server as clonezilla home.

      in the release notes I decided to try it out, and it worked! :) Thanks steven :) Though it's weird that a followup version does not have this bugfix..

       
      • Steven Shiau

        Steven Shiau - 2007-09-05

        No, I think that's our fault.
        1.0.4-xxxexp does not means it's newer than 1.0.3-xxx. We have 2 branches. In the experimental branch, newer kernel and ntfs-3g are used. On the other hand, clonezilla program may not newer in the experimental branch.
        Maybe it's time for us to change the weird version naming. We'd better to sync them.
        Thanks.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.