LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba conf (https://www.linuxquestions.org/questions/linux-newbie-8/samba-conf-18190/)

mgeorge 04-10-2002 08:47 AM

Samba conf
 
I am trying to connect to a windows share from my linux box. I was able to mount the windows share as root, but I could not change the permissions to allow another user to write to the share. how to change permissions to allow other users to write to the windows share?

rlkiddjr 04-10-2002 09:09 AM

Your question is a bit confusing. Are you trying to connect to a windoze machine from linux, or are you trying to connect to linux from a windoze machine.

Lee

mgeorge 04-10-2002 09:15 AM

I am on my linux box -- I hava share drive set up on the windows box. I am able to access the windows box from my linux box by using the command mount -t smbfs -o username=xxx //windows/share /linux/directory

This command seems to only work as root. I cannot write to the windows share from linux as anyone except root and I cannot change permissions with chmod. Is there a way to change the permissions??

hanzerik 04-10-2002 09:19 AM

Try changing the permissions on the mount space /linux/directoy so that your users can write to it, before you mount the windows share.

mgeorge 04-10-2002 09:29 AM

I tried that but I still cannot write to any directories that exist under the share mount point.

mgeorge 04-10-2002 10:09 AM

Thank you for the help -- I put the option uid=<unix user> in the mount command and that worked.


All times are GMT -5. The time now is 10:13 AM.