Ticket #1401 (closed enhancement: fixed)
Roaming profile with correct file attribs
| Reported by: | servisoft_mail@… | Owned by: | jacalvo@… |
|---|---|---|---|
| Milestone: | nice to have someday | Component: | samba |
| Severity: | minor | Keywords: | |
| Cc: | jsoriano@… |
Description
Hi, samba´s roaming profiles do not mark system and hidden attrib on profile´s files. This generate erros in windows machines that use this resoure (like desktop.ini showing at startup) to fix it i plased:
map hidden = yes map system = yes create mask = <value+011> directory mask = <value+011>
on smb.conf.mas and it is working.
Thanks
Attachments
Change History
comment:2 Changed 4 years ago by servisoft_mail@…
Yes, then...
Windows roaming profiles write files with hidden attrib (windows filesystem), when the session is closing, all profile is copied to
SERVER\PROFILES\USERNAME. If the same account is used in the same machine, there is not problem, because the files already exist in local profile dir. But, if this user open the account in annoter machine, all profile is copied back to the new machine, but, the system and hidden attrib of files not exist anymore because its are not mapped to unix attribs (there is other methods to maintain win attrib)
Here is an explanation:
This generate a problem in the new machine that many system files files showed and in startup menu is executed desktop.ini that may be hidden.
Sorry my bad english
Thanks
comment:7 Changed 3 years ago by jacalvo@…
- Cc jsoriano@… added
- Owner changed from javier.amor.garcia@… to jacalvo@…
- Status changed from new to assigned
This should be easily fixed editing stubs/smb.conf.mas and change:
[profiles] path = /home/samba/profiles read only = no create mask = 0600 directory mask = 0700
to:
[profiles] path = /home/samba/profiles read only = no map hidden = yes map system = yes create mask = 0611 directory mask = 0711
But we have to test it before commiting it into trunk.
comment:9 Changed 3 years ago by jacalvo@…
- Owner changed from jacalvo@… to jacalvo@…
- Status changed from assigned to new
comment:10 Changed 2 years ago by jacalvo@…
- Status changed from new to closed
- Resolution set to fixed
Can you tell us a bit more about this errors?