TheUsualAlex Posted February 13, 2003 Share Posted February 13, 2003 Help! I have successfully mounted the windows shared drive on the network to my Linux machines via "mount -t smbfs ..........". But appearently, only the root user can rwx on the shared drive... is there any way I can change this so that any regular valid users can rwx on the shared drive? Currently, the rest of the users can rx the shared drive, but not w. I have made sure that the shared drive have the permission for "Everyone" to rwx on that drive in Windows... Remount it on Linux, still the same... Tried chmod as root. It won't allow me to change anything even as a root... Is there anything else I can do...? I am out of ideas. Thanks. A;lex Quote Link to comment Share on other sites More sharing options...
LEO-oo- Posted February 13, 2003 Share Posted February 13, 2003 There are a parameter in the smb.conf - you can set the createmode (like (chmode). Here an example --- snipp --- guest ok = yes valid users = nobody writable = yes create mode = 0777 public = yes invalid users = new york rangers -- snipp --- Please set all directories at the share to nobody or a user like this and make sure - the directories are rwx for the user and all other users. I hope this helps... Quote Link to comment Share on other sites More sharing options...
stevenong Posted February 13, 2003 Share Posted February 13, 2003 Hey Alex, Please make sure that you don't write to a Windows NTFS drive from Linux. It will screw up the Master File Table or the file index table thingy ( ) which means you're screwed! Cheers! steven Quote Link to comment Share on other sites More sharing options...
MG Posted February 13, 2003 Share Posted February 13, 2003 Also dual booting NTFS sucks big-time! Quote Link to comment Share on other sites More sharing options...
TheUsualAlex Posted February 13, 2003 Author Share Posted February 13, 2003 well.... I am not doing any dual booting. I am just trying to get 2 computer to talk together... Leo, I can't find any parameter in the smb.conf resembles with what you just typed. Do I just append what you just typed to my smb.conf with a little changes? Thanks. Quote Link to comment Share on other sites More sharing options...
MG Posted February 13, 2003 Share Posted February 13, 2003 well.... I am not doing any dual booting. I am just trying to get 2 computer to talk together... I said "also". Read (more) carefully, TheUsualAlex-san! Quote Link to comment Share on other sites More sharing options...
TheUsualAlex Posted February 13, 2003 Author Share Posted February 13, 2003 Aieeya. I must have been too tired.... I haven't gotten much sleep at all this week... pulled up an all nighter about 2 nights ago. Will be another all nighter tonight... and... grr.... art history test...... in about 2 hours...... Quote Link to comment Share on other sites More sharing options...
LEO-oo- Posted February 13, 2003 Share Posted February 13, 2003 @Alex: please mail me your smb.conf - I will check it! Quote Link to comment Share on other sites More sharing options...
TheUsualAlex Posted February 20, 2003 Author Share Posted February 20, 2003 finally got it. (special thanks to my friend Tim of course) For those who are interesting in knowing, just use: -o fmask=0777 if already mounted. Otherwise: mount -t smbfs -o username=my_login,password=my_password,fmask=0775 //SomeNTname/NTsharedName /somewhereinLinux/folder Quote Link to comment Share on other sites More sharing options...
LEO-oo- Posted February 21, 2003 Share Posted February 21, 2003 @Alex: Oh yeah - I have mix up the facts. You connect the Linux-box to WinNT - not the other way. (@myself: Buuhh - read next time more careful ) Quote Link to comment Share on other sites More sharing options...
TheUsualAlex Posted February 21, 2003 Author Share Posted February 21, 2003 aaw. Don't worry about it. We all made mistakes all the time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.