LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Windows Share (https://www.linuxquestions.org/questions/linux-networking-3/windows-share-74037/)

plisken 07-19-2003 04:51 AM

Windows Share
 
Is it possible to set up a Windows share, and make it writable?

I currently use the following:

mount -t smbfs //WINDOWS_MACHINE/SHARE_NAME /home/user/some_dir

Unfortunately, no matter what the permissions of the windows share are, I can not write to the folder.

Thanks in advance...

acid_kewpie 07-19-2003 05:32 AM

you should be fine to just set a umask option there....

mount -t smbfs //WINDOWS_MACHINE/SHARE_NAME /home/user/some_dir -o umask=002

plisken 07-19-2003 04:42 PM

No luck there, tried the -o dmask option also, but no luck writing to the share.

angelrod 07-19-2003 04:47 PM

What version of windoze are you using??
I'm on a Linux-XP network and I can perfectly write to the XP shares just by setting permissions to 777 to the mount point

plisken 07-20-2003 10:01 AM

I'm using Win2K and have set the file permissions for the share to allow access to all authenticated users, as I don't want to open up things too much...

I have set the permissions of the mount point to 777 but this did not help.

I may have to try changing the permissions of the windows share itself, though I thought my current settings would have been fine.

angelrod 07-20-2003 06:28 PM

Have you tried?:

mount -t smbfs -o username=win2kuser,password=yourpass //WINDOWS_MACHINE/SHARE_NAME /home/user/some_dir

MiscGeek 07-20-2003 10:46 PM

Quote:

Originally posted by angelrod
Have you tried?:

mount -t smbfs -o username=win2kuser,password=yourpass //WINDOWS_MACHINE/SHARE_NAME /home/user/some_dir

You might also want to add rw to the command.

mount -t smbfs -o rw,username=<win2kuser>,password=<yourpassword> //WINDOWS_MACHINE/SHARE_NAME /home/user/some_dir

Mike

jayakrishnan 07-21-2003 12:43 AM

is the share given write perms

when u share a folder u can give perms , the default is read
change it in windows


All times are GMT -5. The time now is 09:24 AM.