Skip to main content

Thread: Maintaining hidden windows folders with samba


hi all. hope easy 1 solve. i've set ubuntu server @ home intention of sharing files windows clients, i've installed samba. have no security issues i've allowed public access shares , can access them fine windows machines. need preserve dos attributes files , folders using 'map hidden', 'map system', 'map archive' works great files not folders. i've got number of folders windows box keep hidden (for tidiness more anything) when transfer them samba share, become visible again , can seem control visibility @ windows or ubuntu.

take samba can manage maintain dos flags on files , not on directories?

relevant part of samba.conf file

code:
[global]  	log file = /var/log/samba/log.%m  	passwd chat = *enter\snew\s*\spassword:* %n\n *retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .  	map hidden = yes  	obey pam restrictions = yes  	force directory mode = 0000  	force group = nogroup  	map guest = bad user  	encrypt passwords = true  	public = yes  	passdb backend = tdbsam  	passwd program = /usr/bin/passwd %u  	dns proxy = no  	map system = yes  	netbios name = core  	writeable = yes  	server string = %h server  	wide links = no  	unix password sync = yes  	force create mode = 0000  	workgroup = home  	force user = nobody  	os level = 20  	create mode = 0777  	syslog = 0  	usershare allow guests = yes  	panic action = /usr/share/samba/panic-action %d  	max log size = 1000  	directory mode = 0777  	pam password change = yes      [media]  	comment = shared files  	path = /usr/media
any appreciated.

mark

i haven't used hidden files in samba, "map hidden/system/archive" options use executes bit of permissions. directories need marked executable read, wouldn't able use same trick on them.

there's newer "store dos attributes" option uses extended attributes rather execute bits. filesystem may need mounted "user_xattr" option extended attributes work.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Maintaining hidden windows folders with samba


Ubuntu

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached