<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Mon May 20, 2013 3:46 pm by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Mon May 20, 2013 3:46 pm</pubDate>
  <lastBuildDate>Mon May 20, 2013 3:46 pm</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: mount smbfs and permissions</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=1323#1323</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=162'&gt;Nigel&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed May 04, 2005 4:07 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Our Windows client/server systems are usually set up to export a directory tree from the server &amp;amp; access it from the clients. The directory that is at the top of the tree does need to be writeable by the client PCs. This always worked fine using WIndows NT servers. As soon as customers started updating to Win2000 servers we started getting calls about the program failing, which was traced to a lack of write permission to the top of our directory tree. I tried everything I could think of, but couldn't get any version of Windows to write to the top level of tree shared out by Windows 2000. The easy answer was to move the share level up, ie share out the directory above the top of our tree instead.&lt;br /&gt;
But not all customers had the problem... and I never did conclusively find out what was different about the ones that didn't.&lt;br /&gt;
&lt;br /&gt;
Let me make sure I have understood what you are doing... I think you are saying that you are exporting user's home directories from Windows 2000 and mounting them on Linux using smbfs - correct ?&lt;br /&gt;
Now I don't see anything wrong at the Linux end. So time to look at the Win2000 end.&lt;br /&gt;
Are all of the user's home directories shared out as individual shares ?&lt;br /&gt;
Do they all physically exist on the same filesystem ?&lt;br /&gt;
Is the directory one level above the home directories for some users also shared out ? If so, does the set of users whose home directories are writeable on Linux correspond to the set of users where the directory one level above their home directory is also shared out ? I think you can see where I'm going with this... &lt;img src=&quot;images/smiles/icon_wink.gif&quot; alt=&quot;Wink&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=1323#1323</comments>
                                        <author>Nigel</author>
                                        <pubDate>Wed May 04, 2005 4:07 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=1323#1323</guid>
                                      </item>
                                      <item>
                                        <title>Re: mount smbfs and permissions</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=1311#1311</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=-1'&gt;Anonymous&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed May 04, 2005 11:32 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hi MOPHP,&lt;br /&gt;
   Check the users area and see if they have files in there root area. They will have folders but if they do not have files in the area it can cause this problem.&lt;br /&gt;
&lt;br /&gt;
PS Nigel is right, sometime the root file are not writable. I.e. I mount all the Linux computers using NovelClient and if I am not careful about my mount path and what files the user has they will mount with only read access for the root file but all subdirectories are wriatable.&lt;br /&gt;
&lt;br /&gt;
I would not belive his myself if I had not done it myself&lt;br /&gt;
&lt;br /&gt;
Giz&lt;br /&gt;
GBDesign - ERP for the SME - Creating datadrive solutions</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=1311#1311</comments>
                                        <author>Anonymous</author>
                                        <pubDate>Wed May 04, 2005 11:32 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=1311#1311</guid>
                                      </item>
                                      <item>
                                        <title>Re: mount smbfs and permissions</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=1257#1257</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=25'&gt;M0PHP&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon May 02, 2005 9:05 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Nigel, I think if that was the case then none of the users would be able to save their work to their home directories anyway.&lt;br /&gt;
&lt;br /&gt;
After playing about with the script, I noticed that &lt;span style=&quot;font-weight: bold&quot;&gt;immediately&lt;/span&gt; after the mount command has finished, the directory that is mounted gets write permissions but 1 to 2 seconds afterwards it gets write permissions removed. Also, when I alter the umask paremeter - the permission mode that is applied is slightly different (can't remember what now).&lt;br /&gt;
&lt;br /&gt;
But what isn't clear is why some users are given full permissions and some aren't - I've even tried other users in the same Windows group and one would get write where the other wouldn't &lt;img src=&quot;images/smiles/icon_evil.gif&quot; alt=&quot;Evil or Very Mad&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=1257#1257</comments>
                                        <author>M0PHP</author>
                                        <pubDate>Mon May 02, 2005 9:05 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=1257#1257</guid>
                                      </item>
                                      <item>
                                        <title>RE: mount smbfs and permissions</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=1156#1156</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=162'&gt;Nigel&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Apr 29, 2005 6:31 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I think the answer may lie with Windows 2000... it doesn't let normal users write to the top level of any share. No idea why not - all the other versions of WIndows do.</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=1156#1156</comments>
                                        <author>Nigel</author>
                                        <pubDate>Fri Apr 29, 2005 6:31 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=1156#1156</guid>
                                      </item>
                                      <item>
                                        <title>mount smbfs and permissions</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=1136#1136</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=25'&gt;M0PHP&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Apr 29, 2005 12:31 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Hello &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
I'm trying to create and FTP mirror for some domain users to access their folders from home, ie a quick and dirty remote access.&lt;br /&gt;
&lt;br /&gt;
I've got a bash script that mounts Windows 2000 domain's users to the linux machine which is working fine as far as that goes - it mounts fine with 2K admin accounts which have full read/write access to each username's folders.&lt;br /&gt;
&lt;br /&gt;
Here is a 'ls -l' of /home/winnt before I run the mount script&amp;#058;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 00test&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 01test&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 02test&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 03test&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 04test&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 admin1&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 guest1&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 guest2&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 guest3&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 guest7&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 guest9&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 test.one&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 2 root&amp;nbsp; &amp;nbsp; &amp;nbsp;root&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 12&amp;#58;16 test.two&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
And after mounting with the command below:&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;mount -t smbfs -o username=administrator,password=password,uid=&amp;quot;$i&amp;quot;,gid=&amp;quot;Domain Users&amp;quot;,dmask=777,fmask=777,umask=000 //bbs-svr-001/$i$ /home/winnt/$i&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
(`$i` is the username)&lt;br /&gt;
&lt;br /&gt;
'ls -l' produces this:&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;dr-xr-xr-x&amp;nbsp; &amp;nbsp; 1 00test&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 10&amp;#58;59 00test&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 1 01test&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 10&amp;#58;32 01test&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 1 02test&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 25 15&amp;#58;58 02test&lt;br /&gt;
dr-xr-xr-x&amp;nbsp; &amp;nbsp; 1 03test&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Mar&amp;nbsp; 7 12&amp;#58;52 03test&lt;br /&gt;
dr-xr-xr-x&amp;nbsp; &amp;nbsp; 1 04test&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 26 14&amp;#58;28 04test&lt;br /&gt;
dr-xr-xr-x&amp;nbsp; &amp;nbsp; 1 admin1&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 28 16&amp;#58;02 admin1&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 1 guest1&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 10&amp;#58;43 guest1&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 1 guest2&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Sep 23&amp;nbsp; 2004 guest2&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 1 guest3&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Sep 23&amp;nbsp; 2004 guest3&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 1 guest7&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Apr 29 10&amp;#58;44 guest7&lt;br /&gt;
drwxrwxrwx&amp;nbsp; &amp;nbsp; 1 guest9&amp;nbsp; &amp;nbsp;Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Sep 23&amp;nbsp; 2004 guest9&lt;br /&gt;
dr-xr-xr-x&amp;nbsp; &amp;nbsp; 1 test.one Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Mar&amp;nbsp; 3 11&amp;#58;37 test.one&lt;br /&gt;
dr-xr-xr-x&amp;nbsp; &amp;nbsp; 1 test.two Domain Users&amp;nbsp; &amp;nbsp; &amp;nbsp;4096 Mar 24 15&amp;#58;27 test.two&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
I have no idea why certain users are getting 555 permissions (dr-xr-xr-x) on their root folder. Every user's files &amp;amp; folders underneath the root is 777 as expected. This causes the problem that test.two (as an example) can modify any file that already exists - but creating a new one or a new folder under their root directory is impossible as they don't have write access.&lt;br /&gt;
&lt;br /&gt;
Would anyone happen to know why this is happening?&lt;br /&gt;
&lt;br /&gt;
Many thanks  &lt;img src=&quot;images/smiles/icon_cool.gif&quot; alt=&quot;Cool&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=1136#1136</comments>
                                        <author>M0PHP</author>
                                        <pubDate>Fri Apr 29, 2005 12:31 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=1136#1136</guid>
                                      </item></channel></rss>