<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cannot write/modify files with nfs and samba client in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076364#M6734</link>
    <description>Stuart makes an excellent point.&lt;BR /&gt;&lt;BR /&gt;If the drive is local, you don't need nfs or samba to access it.&lt;BR /&gt;&lt;BR /&gt;Trying to run the client and the server of either protocol on the same diskstop is a recipe for bad testing results.&lt;BR /&gt;&lt;BR /&gt;If you have a choice between nfs and samba, go with samba, because nfs doesn't encrypt the data prior to letting it go on the network.  Thats a security issue.&lt;BR /&gt;&lt;BR /&gt;Next, check the /etc/passwd files of both machines.&lt;BR /&gt;&lt;BR /&gt;The numeric uid of the user in question should be the same to insure there is no problem in accessing files between the two machines.&lt;BR /&gt;&lt;BR /&gt;The reason you have no problem with the windows files when you work on the server is unless you've locked down permissions, you can access ANY files on the server as almost ANY user.&lt;BR /&gt;&lt;BR /&gt;On the server, you can mount the windows drives locally and set permissions with chmod and chown.&lt;BR /&gt;&lt;BR /&gt;If this or other posts have been helpful, please assign points.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;forums ettiquette:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://66.34.90.71/ITRCForumsEtiquette/" target="_blank"&gt;http://66.34.90.71/ITRCForumsEtiquette/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 24 Sep 2003 19:42:22 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-09-24T19:42:22Z</dc:date>
    <item>
      <title>Cannot write/modify files with nfs and samba client</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076359#M6729</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My configuration:&lt;BR /&gt;&lt;BR /&gt;- 2 PCs, one server (desktop) and one laptop.&lt;BR /&gt;- Connected with a 10/100 network.&lt;BR /&gt;- SuSE 8.2 pro on both machines.&lt;BR /&gt;- The desktop has also two FAT32 windows partitions defined, with office files.&lt;BR /&gt;- nfs &amp;amp; nis services defined and configured.&lt;BR /&gt;- A network user accound defined on the server.&lt;BR /&gt;- The /home/MyUserAccount defined on the server to be accessed through the network by the laptop.&lt;BR /&gt;- Samba client defined on the server to access the windows FAT32 drives.&lt;BR /&gt;- The /windows/... drives defined to be accessed through the network by the laptop.&lt;BR /&gt;&lt;BR /&gt;Everything is running well (connection with MyUserAccount from the laptop with a remote /home directory, working with documents, which are on the server linux file system) except modifying files (linux or windows), which are on the FAT32 windows drives of my server, but only if I access them from my laptop. I can work on them from my server. I use the same user account with both PCs.&lt;BR /&gt;&lt;BR /&gt;Is there any special configuration parameter to allow write/modify/delete rights on remote (nfs) windows drives ? &lt;BR /&gt;Do I have to configure samba or nfs ?&lt;BR /&gt;Why do I have no problem to access thoses windows files when I work on the server ?&lt;BR /&gt;&lt;BR /&gt;I hope my problem description is enough understandable...&lt;BR /&gt;&lt;BR /&gt;Thanks for help.&lt;BR /&gt;&lt;BR /&gt;Sam.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Sep 2003 04:17:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076359#M6729</guid>
      <dc:creator>Samuel_22</dc:creator>
      <dc:date>2003-09-23T04:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot write/modify files with nfs and samba client</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076360#M6730</link>
      <description>I hope I got your problem right...&lt;BR /&gt;you said:"Why do I have no problem to access thoses windows files when I work on the server ?"&lt;BR /&gt;because you don't have to pass trough the nfs restrictions.&lt;BR /&gt;Now for the syntax:&lt;BR /&gt;usually you should edit /etc/exports file like this:&lt;BR /&gt;/directory   ip(permissions)&lt;BR /&gt;when:&lt;BR /&gt;between the ip and the permissions shoud be NO space.&lt;BR /&gt;For example to give a station 10.10.10.10 permission for r/w access for a folder name /data&lt;BR /&gt;/data   10.10.10.10/32(rw)&lt;BR /&gt; you can also specify (rw,no_root_squash)&lt;BR /&gt;&lt;BR /&gt;in permission if you want your laptop's root&lt;BR /&gt;to access file on NFS server as local root. &lt;BR /&gt;</description>
      <pubDate>Tue, 23 Sep 2003 10:51:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076360#M6730</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2003-09-23T10:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot write/modify files with nfs and samba client</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076361#M6731</link>
      <description>use samba and configure directory with option&lt;BR /&gt;see:&lt;BR /&gt;&lt;A href="http://www.tldp.org/HOWTO/SMB-HOWTO.html#toc6" target="_blank"&gt;http://www.tldp.org/HOWTO/SMB-HOWTO.html#toc6&lt;/A&gt;</description>
      <pubDate>Tue, 23 Sep 2003 10:59:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076361#M6731</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2003-09-23T10:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot write/modify files with nfs and samba client</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076362#M6732</link>
      <description>Ok, getting confused.&lt;BR /&gt; &lt;BR /&gt;You say that both are using SuSE, yes?&lt;BR /&gt; &lt;BR /&gt;How are you using 'Samba' for the FAT32 drives if they are local?  Aren't you just 'mount -tvfat /dev/hdaX /mount/point' ?&lt;BR /&gt; &lt;BR /&gt;What mount commands are you using on both machines ? What's your /etc/exports look like no the server, and what usernames are being used?</description>
      <pubDate>Tue, 23 Sep 2003 18:51:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076362#M6732</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-09-23T18:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot write/modify files with nfs and samba client</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076363#M6733</link>
      <description>Hello !Thanks for your answers. Here is some information in the attachment. I'm not very familar with the editor of the forum and I couldn't put line breaks where I'd liked to. Someone has a hint for me?Thanks !Sam.</description>
      <pubDate>Wed, 24 Sep 2003 17:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076363#M6733</guid>
      <dc:creator>Samuel_22</dc:creator>
      <dc:date>2003-09-24T17:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot write/modify files with nfs and samba client</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076364#M6734</link>
      <description>Stuart makes an excellent point.&lt;BR /&gt;&lt;BR /&gt;If the drive is local, you don't need nfs or samba to access it.&lt;BR /&gt;&lt;BR /&gt;Trying to run the client and the server of either protocol on the same diskstop is a recipe for bad testing results.&lt;BR /&gt;&lt;BR /&gt;If you have a choice between nfs and samba, go with samba, because nfs doesn't encrypt the data prior to letting it go on the network.  Thats a security issue.&lt;BR /&gt;&lt;BR /&gt;Next, check the /etc/passwd files of both machines.&lt;BR /&gt;&lt;BR /&gt;The numeric uid of the user in question should be the same to insure there is no problem in accessing files between the two machines.&lt;BR /&gt;&lt;BR /&gt;The reason you have no problem with the windows files when you work on the server is unless you've locked down permissions, you can access ANY files on the server as almost ANY user.&lt;BR /&gt;&lt;BR /&gt;On the server, you can mount the windows drives locally and set permissions with chmod and chown.&lt;BR /&gt;&lt;BR /&gt;If this or other posts have been helpful, please assign points.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;forums ettiquette:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140137&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://66.34.90.71/ITRCForumsEtiquette/" target="_blank"&gt;http://66.34.90.71/ITRCForumsEtiquette/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Sep 2003 19:42:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076364#M6734</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-09-24T19:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot write/modify files with nfs and samba client</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076365#M6735</link>
      <description>Ok.  On the laptop, where are you mounting 'server:/windows/E/' to (locally) ?&lt;BR /&gt; &lt;BR /&gt;After mounting it, what are the permissions on the files (ls -l &lt;MOUNTPOINT&gt;) ?&lt;BR /&gt; &lt;BR /&gt;It's looking like the permissions on those files are restricting the user you are using on the laptop from writing to them.&lt;BR /&gt; &lt;BR /&gt;I think you can force given permissions on files mounted off a Fat32 partition.  This usually requires modifying /etc/fstab, with options like:&lt;BR /&gt; &lt;BR /&gt;uid=501,gid=501,umask=022&lt;BR /&gt; &lt;BR /&gt;(see 'man 8 mount' for details, under the 'fat' section).&lt;/MOUNTPOINT&gt;</description>
      <pubDate>Wed, 24 Sep 2003 19:49:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076365#M6735</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-09-24T19:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot write/modify files with nfs and samba client</title>
      <link>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076366#M6736</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;Thanks for your messages. They were very useful and interesting, but I couldn't solve my problem yet.&lt;BR /&gt;&lt;BR /&gt;Alexander: I checked the /etc/exports configuration file :&lt;BR /&gt;/windows/E/     *(rw,root_squash,sync)&lt;BR /&gt;These parameters were generated by the SuSE graphical tool to configure my nfs server. I don't know the meaning of the sync option.&lt;BR /&gt;&lt;BR /&gt;Stuart: Yes I use SuSE 8.2 pro on both machines. &lt;BR /&gt;The FAT32 drives I'd like to access are on the server. When I access them from the server, they are local and I don't use the nfs service. When I access them from my laptop, they are remote and I think I have to use nfs (maybe there are other solutions I don't know).&lt;BR /&gt;I don't know the commands, which have been used to mount the FAT32 drives. SuSE did the job automatically when I installed the system.&lt;BR /&gt;I use the same userid if I work on the server or on the laptop. The userid is defined on the server and I use it with nis when I work on the laptop.&lt;BR /&gt;&lt;BR /&gt;Stuart: Yes, I have a /windows/E on my laptop, which correspond to the /windows/E of my server, with nfs. I checked the permessions. -rwxrwxr-x for a test file. The permissions are the same if I look on the server or on the laptop.&lt;BR /&gt;&lt;BR /&gt;Another strange thing: when I work with my laptop on a server FAT32 drive, I can create a folder, but not a file and I cannot modify a file ("Writing error. Impossible to write in the file" --&amp;gt; message in an Open Office.org file).&lt;BR /&gt;&lt;BR /&gt;I know this problem is complex and difficult to explain and I do my best to be as clear as I can. Thanks.&lt;BR /&gt;&lt;BR /&gt;Samuel.</description>
      <pubDate>Sun, 28 Sep 2003 07:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/cannot-write-modify-files-with-nfs-and-samba-client/m-p/3076366#M6736</guid>
      <dc:creator>Samuel_22</dc:creator>
      <dc:date>2003-09-28T07:53:04Z</dc:date>
    </item>
  </channel>
</rss>

