Find the answer to your Linux question:
Results 1 to 2 of 2
Well, I have this script that automatically tars up my web directory and copies its contents to an NFS share. Recently, I tried Samba out because a friend told me ...
  1. #1
    Linux Newbie SagaciousKJB's Avatar
    Join Date
    Aug 2007
    Location
    Yakima, WA
    Posts
    162

    Help with writing to Samba shares

    Well, I have this script that automatically tars up my web directory and copies its contents to an NFS share. Recently, I tried Samba out because a friend told me about the smbmount utillity.

    I couldn't figure out how to put it into an fstab entry, so I made an init script with the smbmount command. Everything seemed to work, but I'm not mounting with write permissions it seems.

    I tried this command

    smbmount //server/share /localdir -o username=usr,password=pass, rw

    However it still does not let me write.

    All of my shares are designated writeable with the line

    "writeable = yes"

    In their declarations, and in fact if I load up Remote Places from Konqueror, I can write and create new files and everything, just not from the smbmounted localdirs.


    Can anyone give me an idea where I'm going wrong using smbmount, or give me a general idea of how to mount a remote share for writing?

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Posts
    90
    try the option "valued users"
    sometimes i had also faced this and the "valid users" option fixed it.

Posting Permissions

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