Find the answer to your Linux question:
Results 1 to 2 of 2
I have a shared file in my /homes directory called Shared. I created it as root, then changed the permissions and ownership. It's owned by me, not root, and is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Mar 2003
    Location
    Wisconsin
    Posts
    1,907

    Samba Question


    I have a shared file in my /homes directory called Shared. I created it as root, then changed the permissions and ownership. It's owned by me, not root, and is chmoded to 777 so that anyone can write to it. Perfect, everyone on the boxen now has a shared folder.

    However, when I try to write to it over the network from my windows computer (via Samba), I get a permission error.

    Code:
    touch //Pepper/Shared
    Says permission denied no matter who I'm logged in as on the Windows box. That sucks, becuase I'd like to rsync my Shared windows foler with the Shared Linux folder.

    How do I setup Samba so that anyone can write to the share?
    Jeremy
    Registered Linux user #346571
    "All The Dude ever wanted was his rug back" - The Dude

  2. #2
    Just Joined!
    Join Date
    Apr 2005
    Posts
    62
    I know you are not new to linux, but just in case that you forgot to put a writable = yes like below in your config
    #######in your smb.conf file
    [shared]
    comment = qa group's shared files
    path = /location/shared
    valid users = you others
    browseable = yes
    writable = yes
    ####################

Posting Permissions

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