Found myself in a situation where I was editing and uploading some files through Dreamweaver on a windows box. The files were accessed via a mounted samba share on a debian server.
Didn't want dreamweaver to see all the .svn directories and files under them (so uploading a folder from dreamweaver would skip uploading the .svn stuff).
Thanks to Gabriel for the easy solution:
------------
complex solution:
On the samba server I set these options under the [file share] section:
hide unreadable = yes
hide unwriteable files = yes
and restarted samba.
Then make all the .svn folders unreadable by my samba user like this:
# cd /path/to/samba/share
# chown myusername: . -R
# for i in `find . -name .svn `; do echo "setting $i"; chown -R othername: $i; chmod o-rwx $i; done;
that way all the .svn folders will be owned by othername and not accessible by the samba user myusername, samba will hide this folder from the windows box...
now I can edit and upload files from dreamweaver whilst commiting svn changes through a terminal at the same time.
|
Collector Comics is THE place to buy, sell, and research comics online. Launching soon.
Launch »
Screenshot »
|
|
Webitor is a kick-ass easy to use, easy to extend, non-database driven Content Management System. Version 2 with reseller plan coming soon.
Launch »
Version 1 »
|
|
GC Lounge is my own pet social network and test bed for social related code. Made by locals for locals.
Launch »
|
|
GG has indexed over half a million recent Trade Mark applications. This revolutionary tool is extremely valuable for industry experts.
Launch »
|
|
GCWiFi is the hub for techies interested in joining a ad-hoc wireless mesh spread across the Gold Coast
Launch »
|
|
Web based financial client management system
Launch »
|
|
OS Commerce modules and template modification
Launch »
|
| View More Projects » | |