X web hosting - [data] path = /home/samba/data browseable = yes guest
[data] path = /home/samba/data browseable = yes guest ok = yes writeable = yes create mask = 744 directory mask = 755 force user = joe force group = accounting These options actually assign a static Unix user and group to each connection that is made to a share. However, this occurs after the client authenticates; it does not allow free access to a share. These options are frequently used for their side effects of assigning a specific user and group to each new file or directory that is created in a share. Use these options with discretion. Finally, one of the capabilities of Unix that DOS lacks is the ability to delete a read-only file from a writable directory. In Unix, if a directory is writable, a read-only file in that directory can still be removed. This could permit you to delete files in any of your directories, even if the file was left by someone else. DOS filesystems are not designed for multiple users, and so its designers decided that read-only means “protected against accidental change, including deletion,” rather than “protected against some other user on a single-user machine.” So the designers of DOS prohibited removal of a read-only file. Even today, Windows file systems exhibit the same behavior. Normally, this is harmless. Windows programs don t try to remove read-only files because they know it s a bad idea. However, a number of source-code control programs - which were first written for Unix - run on Windows and require the ability to delete read-only files. Samba permits this behavior with the deletereadonlyoption. In order to enable this functionality, set the option to yes: [data] path = /home/samba/data browseable = yes guest ok = yes writeable = yes create mask = 744 directory mask = 755 force user = joe force group = accounting delete readonly = yes 5.3.2 File and Directory Permission Options The options for file and directory permissions are summarized in Table 5.5; each option is then described in detail. 161
We highly recommend you visit web and email hosting services if you need stable and cheap web hosting platform for your web applications.