Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: Cant write on samba share from windows

  1. #1
    Join Date
    Feb 2006
    Beans
    3

    Cant write on samba share from windows

    Hi.

    I created a samba share with ubuntu konfiguration of samba in the graphic envirement.

    I can acces it from my windows, but I can not write to it

    I use latest ubuntu 10.04 LTS desktop

    Hope someone can help me
    Best regards
    Kenneth

  2. #2
    Join Date
    May 2006
    Location
    Southern California
    Beans
    867
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Cant write on samba share from windows

    I'd guess permissions.
    Did you grant read/write permission to others?
    (Master be/fe) ASUS P5KPL IPC, E5400, KVR800D2N6K2/2G, 8500GT, (2)PVR-150, A180, ATSC-115, U10.04, MythTV 0.23-fixes.

  3. #3
    Join Date
    Feb 2009
    Location
    Trinidad and Tobago
    Beans
    340
    Distro
    Ubuntu Development Release

    Re: Cant write on samba share from windows

    open a terminal. (Applications>Accessories>Terminal)
    enter
    Code:
    sudo apt-get install system-config-samba
    type in your password.

    After this is installed, go to
    System>Administration>Samba and enter your password when prompted.

    You can edit Windows shares graphically from there.
    The above post definitely does not contain any sarcasm at all.

  4. #4
    Join Date
    Feb 2006
    Beans
    3

    Re: Cant write on samba share from windows

    Thanks for the answers. I already installed samba, and also used the graphical setting tool that is on the menubar (system/administration/samba)

    I also have acces to Samba from my windows pc's. All the users are also able to acces and see the share. But no users are granted permission to write.

    As for now, we have a share, with no files (need to move files from windows pc), we can see the share from windows, acces it, but can write to it.

    Would it be an idea maybe to put the configuration in smb.conf in this thread?

    /Kenneth

  5. #5
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    5,263
    Distro
    Ubuntu

    Re: Cant write on samba share from windows

    Quote Originally Posted by mlmpihl View Post
    Would it be an idea maybe to put the configuration in smb.conf in this thread?
    Yes, OK. Remember to wrap [ code] and [/ code] around it (press the # button on the toolbar).

    Did you make your directory writeable by everyone?

    In the Samba GUI, did you set the share to Writable and Allow access to everyone?
    Always make regular backups of your data (and test them).
    Visit Full Circle Magazine for beginners and seasoned Linux enthusiasts.

  6. #6
    Join Date
    May 2006
    Location
    Southern California
    Beans
    867
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Cant write on samba share from windows

    [wag]
    I've never tried ext4. Can Windows write to an ext4 share? Are you using ext4?
    (Master be/fe) ASUS P5KPL IPC, E5400, KVR800D2N6K2/2G, 8500GT, (2)PVR-150, A180, ATSC-115, U10.04, MythTV 0.23-fixes.

  7. #7
    pricetech is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Apr 2008
    Beans
    1,651

    Re: Cant write on samba share from windows

    It doesn't matter what the file system is on the Linux box, Samba shares it as a windows share.

    It's probably permissions, adjustable in the configuration tool.

  8. #8
    Join Date
    Nov 2008
    Location
    San Francisco, California
    Beans
    389
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cant write on samba share from windows

    I have found that creating directories or copying/moving files to the share from Ubuntu sometimes creates restrictive permissions, when doing the same from Windows does not. So on my Ubuntu file server if I were to create a directory or put, say, images on the shared drive, I could then read them from windows machines, but not write/modify.

    I think I found chown to be useful here.

  9. #9
    Join Date
    May 2006
    Location
    Southern California
    Beans
    867
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Cant write on samba share from windows

    Quote Originally Posted by Nixie Pixel View Post
    I have found that creating directories or copying/moving files to the share from Ubuntu sometimes creates restrictive permissions, when doing the same from Windows does not. So on my Ubuntu file server if I were to create a directory or put, say, images on the shared drive, I could then read them from windows machines, but not write/modify.

    I think I found chown to be useful here.
    Interesting...
    I was surprised to find Linux respecting Windows permissions.
    Whenever I copy from XP/2K to Ubuntu, I have to chown/chmod the files in order to to edit them.
    All my Linux boxes have the same username so moving files between them is a non issue.
    (Master be/fe) ASUS P5KPL IPC, E5400, KVR800D2N6K2/2G, 8500GT, (2)PVR-150, A180, ATSC-115, U10.04, MythTV 0.23-fixes.

  10. #10
    Join Date
    Mar 2010
    Beans
    11

    Question Re: Cant write on samba share from windows

    I'm having the same problem.

    On winxp i can open a file explorer window to the share on xUbuntu,
    I can open a file for editing,
    but I cannot save the file

    Please advise:
    1. how can I tell which xubuntu user account I am connecting to xubuntu with?
    (I looked in /var/log/samba, found the file named after my windows machine, opened it, one of the lines contained
    Code:
     
    connect to service ubuntu_www (the name of the share) initially as user nobody (uid=65534, gid=65534) (pid 4101)
    It appears to me that my connection is not using a valid account, therefore I assume permissions are not being applied.

    2. How can I force winxp to connect to the xubuntu share using an account name and password on xubuntu?
    I've tried to map a drive on winxp and connect using a different username UBUNTU\username and password, but winxp fails to map the drive because the user account password doesn't connect.

    Thanks in advance.

Page 1 of 3 123 LastLast

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
  •