Results 1 to 8 of 8

Thread: nas folder problem

  1. #1
    Join Date
    Oct 2008
    Beans
    345

    nas folder problem

    I have a problem with mounting nas folder locally . I did google the heck out of it but no solution .
    My nas folder is at

    smb://192.168.1.120/public/

    but to access it as local drive i mounted it like this in a fstab

    //192.168.1.120/public/ /media/public smbfs uid=guest,gid=users 0 0

    It mounts during boot , puts an icon on the desktop , i can see files , but as a user can not delete or put files on it . As root it is no problem . So how do i give myself read and wright privileges?
    Where did i go wrong ?
    Last edited by sigurnjak; December 31st, 2012 at 04:50 AM. Reason: more info

  2. #2
    Join Date
    Jul 2011
    Beans
    3,037
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: nas folder problem

    You are using the guest account on the nas to mount the share. What privileges does this account have on the nas?

  3. #3
    Join Date
    Oct 2008
    Beans
    345

    Re: nas folder problem

    Guest has all read and wright privileges . It is default user for Patriot gear box NAS .
    When i mount it as plain samba folder i have all rights but after i mount it locally only root can delete and put files here, also mount locally is much faster data transfer then samba .

  4. #4
    Join Date
    Jul 2009
    Beans
    3

    Re: nas folder problem

    Hi Friends.,
    I am having strange problem in same kind of scenario.

    I am having problem with mounting.. I bought iOmega Storage box ix200.
    I shared a folder from iOmega box for 10 users.

    I mounted this shared drive in all 10 Virtual machines by editing /etc/fstab file. After rebooting the drive got mounted. But when a user accessing it and tries to create a new file it shows lock symbol on it.

    But if i try to access this drive from Menu - Location and, from there put File server IP and do then i am able to create a file without lock symbol. It's opening read-only for all the users.

    This is happening for all the users except 1 user.
    If i assign that user then its working fine. Can someone guide me what may be the issue.

  5. #5
    Join Date
    Dec 2009
    Beans
    6,776

    Re: nas folder problem

    My nas folder is at

    smb://192.168.1.120/public/

    but to access it as local drive i mounted it like this in a fstab
    Just so you know, when you use "smb://..." you are mounting it locally. You just may not like the mount point it automatically created.

    You didn't specify what version of Ubuntu you are using:

    If it's 12.10 the mount point is at:
    /run/user/your-user-name/gvfs
    Prior to that it was at:
    /home/your-user-name/.gvfs
    Anyway:
    //192.168.1.120/public/ /media/public smbfs uid=guest,gid=users 0 0
    How about:
    //192.168.1.120/public/ /media/public smbfs uid=guest,gid=users,dir_mode=0775,file_mode=0664 0 0
    Assuming of course that you personally are a member of the "users" group.

  6. #6
    Join Date
    Oct 2008
    Beans
    345

    Re: nas folder problem

    Sorry for not specifying i , it is Ubuntu 12.04 , running gnome shell.
    In next few minutes i will be near my pc and try your suggestion .

  7. #7
    Join Date
    Oct 2008
    Beans
    345

    Re: nas folder problem

    After following this
    How about:
    Quote:
    //192.168.1.120/public/ /media/public smbfs uid=guest,gid=users,dir_mode=0775,file_mode=0664 0 0
    Assuming of course that you personally are a member of the "users" group.

    I rebooted and my drive did not mount , I did have to install gnome-system-tools to be able to manage groups and am now in progress of changing permissions to public mount point and adding my self to users group . It may take a while since there is few hundred gigs of stuff there and i have to go , but i will update you guys as soon as i can .
    Thanks for pointing me to a whole neW direction ,
    If i do not make it back soon ,
    HAPPY NEW YEAR !!!!

  8. #8
    Join Date
    Oct 2008
    Beans
    345

    Re: nas folder problem

    Well i did solved it ! Thanks for your help !
    I added new Gearbox user named andrey , edited fstab uid to andrey and gid same , changed smbfs to cifs , remounted everything , and i got all the rights to the drive .

    New fstab line
    //192.168.1.120/public/ /media/public cifs uid=andrey,gid=andrey 0 0

    Happy new year folks !!!

Bookmarks

Posting Permissions

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