5.3.2.3 force create mode (Web hosting directory) This option sets the
5.3.2.3 force create mode This option sets the permission bits that Samba will force to be set when a file permission change is made. It s often used to force group permissions, mentioned previously. It can also be used to preset any of the DOS attributes we mentioned: archive (0100), system (0010), or hidden (0001). This option always takes effect after the maparchive, mapsystem , maphidden, and createmaskoptions. Many Windows applications rename their data files to datafile.bak and create new ones, thus changing their ownership and permissions so that members of the same Unix group can t edit them. Setting force create mask = 0660will keep the new file editable by members of the group. 5.3.2.4 force directory mode This option sets the permission bits which Samba will force when a directory permission change is made or a directory is created. It s often used to force group permissions, as mentioned previously. This option defaults to 0000, and can be used just like the forcecreatemodeto add group or other permissions if needed. This option always takes effect after the map archive, mapsystem, maphidden, and directorymaskoptions. 5.3.2.5 force group This option, sometimes called group, assigns a static group ID that will be used on all connections to a service after the client has successfully authenticated. This assigns a specific group to each new file or directory created from an SMB client. 5.3.2.6 force user The forceuseroption assigns a static user ID that will be used on all connections to a service after the client has successfully authenticated. This assigns a specific user to each new file or directory created from an SMB client. 5.3.2.7 delete readonly This option allows a user to delete a directory containing a read-only file. By default, DOS and Windows will not allow such an operation. You probably will want to leave this option turned off unless a program needs this capability; many Windows users would be appalled to find that they d accidentally deleted a file which they had set read-only. In fact, even the Unix rm command will ask users if they really want to override the protection and delete read-only files. It s a good idea to have Samba be at least as cautious. 5.3.2.8 map archive The DOS archive bit is used to flag a file that has been changed since it was last archived (e.g., backed up with the DOS archive program.) Setting the Samba option maparchive=yes causes the DOS archive flag to be mapped to the Unix execute-by-owner (0100) bit. It s best to leave this option on if your Windows users are doing their own backups, or are
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.