LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-19-2003, 04:51 AM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Rep: Reputation: 32
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...
 
Old 07-19-2003, 05:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
 
Old 07-19-2003, 04:42 PM   #3
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
No luck there, tried the -o dmask option also, but no luck writing to the share.
 
Old 07-19-2003, 04:47 PM   #4
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
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
 
Old 07-20-2003, 10:01 AM   #5
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
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.
 
Old 07-20-2003, 06:28 PM   #6
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Have you tried?:

mount -t smbfs -o username=win2kuser,password=yourpass //WINDOWS_MACHINE/SHARE_NAME /home/user/some_dir
 
Old 07-20-2003, 10:46 PM   #7
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
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
 
Old 07-21-2003, 12:43 AM   #8
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
is the share given write perms

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to Windows share. UmneyDurak Linux - Networking 6 10-17-2005 05:31 PM
Trying to connect to windows share? rerun07 AIX 22 06-17-2005 04:53 PM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
Windows Share Sn7 Linux - Networking 4 07-02-2004 01:27 AM
Share Windows Folders Foggy Linux - Newbie 21 12-09-2003 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration