Modify

Ticket #1401 (closed enhancement: fixed)

Opened 4 years ago

Last modified 2 years ago

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:1 Changed 4 years ago by juruen@…

Can you tell us a bit more about this errors?

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:

 http://www.wikilearning.com/tutorial/usando_samba-permisos_de_ficheros_y_atributos_en_ms_dos_y_unix/9688-32

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:3 Changed 4 years ago by juruen@…

  • Milestone changed from 1.2.10-maint to 1.4

comment:4 Changed 3 years ago by jacalvo@…

  • Owner changed from juruen@… to jacalvo@…

comment:5 Changed 3 years ago by jacalvo@…

  • Owner changed from jacalvo@… to javier.amor.garcia@…

comment:6 Changed 3 years ago by jacalvo@…

  • Milestone changed from 1.4 to nice to have someday

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:8 Changed 3 years ago by jacalvo@…

(In [18911]) Roaming profiles with correct file attribs (refs #1401)

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

(In [20229]) NN: Roaming profiles with correct file attribs (closes #1401)

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.