Results 1 to 2 of 2

Thread: Need help with write access on raid5 mount and network access

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    Brazil
    Beans
    67
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question Need help with write access on raid5 mount and network access

    I'm running ubuntu 9.10, and created a softraid5 with no problems.
    Now i need it to automount with user read/write access, and i need to make some network share folders.

    My fstab has the following line for the raid:
    Code:
    /dev/md0        /media/raid  auto    rw,user,auto,exec 0       0
    After i mounted it, i changed the permission with:
    Code:
    sudo chmod 777 /media/raid/
    So now i can create folders and files on it.
    Then i created some shares, one with guest access and other with no guest access.

    Now the questions:
    1) If i access the guest shared folder via WinXP, i create files and folders, but they appear locked on ubuntu, so i cant access them until i change the permissions. If i go to proprieties/Permissions, the owner is "nobody".
    2) What password do i need to use on WinXP, and i try to access the non-guest shared folded? Do i need to create a user just for that?
    Dell Inspiron 14R N4110 - Ubuntu 12.04 X64 - Intel Core i5 2410M@2.3Ghz - 8GB DDR3@1333Mhz - Intel HD 3000 - WDC SATA II 640GB + SSD Kingston V200 128GB

  2. #2
    Join Date
    Nov 2006
    Beans
    Hidden!

    Lightbulb Re: Need help with write access on raid5 mount and network access

    Hi,

    In my experience, it was more difficult and painful to properly create a softraid than it was to share folders within a windows network...

    Regarding question 1, I think it's partly related to the fact that the folder you are sharing is not formatted with NTFS and is probably ext3 or ext4. (did I guess?)
    I am saying this because I have the same problem as you, files created by windows user appear as locked in ubuntu (I use Linux Mint 8 at the moment, but it should apply as well). I was just looking for a solution and I came upon your question...

    I think the following solution should solve your problem (and mine as well , although I haven't had time to test it, I will do it later today)

    oceanmaster says

    Wanting to share a folder and having problems? Try this:

    1.
    sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.orig
    (backs up the smb.comf samba file)

    2.
    gksu gedit /etc/samba/smb.conf
    (opens the smb.conf file)

    3.
    Add this line below the “usershare allow guests = yes” line and save it
    usershare owner only = False

    4. (might not have to do this step)
    sudo /etc/init.d/samba restart
    (restart samba service)
    from: http://www.simplehelp.net/2007/05/19...ers-in-ubuntu/

    Let me know if this works?

Tags for this Thread

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
  •