LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba Network Share (https://www.linuxquestions.org/questions/linux-newbie-8/samba-network-share-812219/)

Chemosh 06-04-2010 05:52 PM

Samba Network Share
 
Hello,
I have a question regarding samba shares. I permanently mounted a share. I have issues because when I actually save a file or move one. It will change permission or something to where it's locked and only opens as read only.

I then have to go to the /media/share/ and do a chmod -R 775 directory/
to make this work. There has to be a better way about doing this.Keep in mind some information is not shown because of other disclosures. No the server does no require any type of user name or password authentication. below is the mount setup. I also cannot change the share permissions folder.

Thanks for all the help.

//servername/share /media/share cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

pingu 06-05-2010 02:32 AM

Struggling myself with this last year, I found that file_mode & dir_mode are not used with cifs, only with older smbfs.
You will need the "noperm" option thus
Code:

//servername/share /media/share cifs guest,rw,iocharset=utf8,noperm 0 0


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