[Samba] File permissions
Harry Jede
walk2sun at arcor.de
Sun Jun 6 11:32:11 MDT 2010
On Donnerstag, 3. Juni 2010 wrote Steve Wolfe:
> Samba 3.4.7-58.fc12, windows 7 client.
>
> I have a share where, if I right-click and chose "properties",
> everything shows up as "read only". I can un-check that, hit apply,
> and if I view the properties again, they are read only.
>
> Interestingly enough, I can go in and create files, modify files,
> rename files, delete files, etc.. However, some of the users'
> software checks for read-only status, and is throwing errors.
>
> Here's the smb.conf section:
>
> [Apps]
> path=/home/apps
> force user=appsuser
> force group=appsuser
> read only=no
> writeable=yes
> oplocks = False
> level2 oplocks = False
>
> Directory looks like this:
>
> drwxrwxr-x 94 appsuser appsuser 20K 2010-06-02 14:32 apps
>
> Files inside of it have permissions similar to these:
>
> -rwxr-xr-x 1 appsuser appsuser 424K 2009-10-01 15:54 AAUTOLN.DLL
> -rwxr-xr-x 1 appsuser appsuser 894 2008-07-23 08:37
> Accounting.HSICTB
>
> Any clues?
Windows is a little bit different;
you should never use usergroups. Setting up a user appsuser and a group
appsuser is not supported by Windows Server products and not supported
by Samba Servers.
--
regards
Harry Jede
More information about the samba
mailing list