Tag Info

Hot answers tagged

68

Permissions are a pest. Basically, you need to make sure that all of those developers can write to everything in the git repo. Skip down to The New-Wave Solution for the superior method of granting a group of developers write capability. The Standard Solution If you put all the developers in a specially-created group, you can, in principle, just do: ...


29

This has not been said, so I want to quickly add it. To ensure that permissions issues do not crop their ugly head, make sure to set the following on your git shared repository's config file: [core] sharedRepository = true This will ensure that your system's "umask" settings are respected.


11

The Git User Manual describes how to share a repository in several ways. Exporting via the Git Daemon. Exporting via HTTP. CVS/SVN style, a single shared repository where developers push/pull. More complicated, though feature-full ways to share repositories are: Gitosis Gitorious GitHub (or GitHub Firewall Install) We use GitHub for a team of 6 ...


7

Also look at gitolite for hosting your git repository. Gitosis apparently isn't being developed anymore.


6

This is entirely possible with NTFS rights, but it is far from a standard configuration. We had to do something similar, create drop-boxes: directories where students could copy in files, but couldn't delete them once there, or see any other directories. Doable with some custom work. The key is understanding how different rights behave when set on files and ...


5

The ldconfig command will show these paths for you... ldconfig -v | grep -v ^$'\t' The paths are set in /etc/ld.so.conf and /etc/ld.so.conf.d.


5

Shares are listed in SYSTEM\CurrentControlSet\Services\LanmanServer\Shares registry key, you can delete the entries there, after a backup of the key (source)


5

quoting and answering your questions: > "...I want it's localhost to be available from other computers" Sorry, but "localhost" (meaning "this computer") is the standard hostname given to the address of the loopback network interface. The name is also a reserved domain name, so you can't make computer's localhost to be avalible from other computers. > ...


5

My question is how can i secure that the files that are in the shared folder open once a time so everytime only one user from the network can edit the specific file. That's built-in by design. It's called opportunistic locking, see here: http://support.microsoft.com/kb/296264 By default, opportunistic locking is enabled for server message block ...


4

Using ldd you can see the dynamic libraries that are linked to a specific binary file. Like so: $ ldd /usr/bin/wget linux-vdso.so.1 => (0x00007fffa5dff000) libssl.so.0.9.8 => /lib/libssl.so.0.9.8 (0x00007f4d3280e000) libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 (0x00007f4d3247e000) libdl.so.2 => /lib/libdl.so.2 ...


4

You are really asking two entirely different questions. Here are the answers I'd give: Will my VPS's performance be dependent on other VMs on the same physical server? To some extent, yes, although (unless the admins are incompetent) you will receive at least the performance you pay for. Many VPSes are setup so that you can draw more above your set ...


3

I work for a web hosting company and have made a number of observations over time: Shared hosting is inherently less reliable that renting a virtual server. The reason for this is that on a shared box you're going to be co-habiting with possibly 1500-2000 other websites. The biggest problem we encounter are badly written scripts that soak up CPU and memory ...


3

Reduce bandwidth - You may want to use a free CDN such as CoralCDN or SimpleCDN and temporarily redirect visitors to the CDN domain. That's what people normally do for the slashdot effect. Reduce CPU load - You could also present a static cache of your site made using httrack or similar tool instead of a full dynamic one. Spread the load - Varnish can ...


3

You could buy a reseller account and create sub-accounts for each domain. There is also the possibility of just using a regular shared hosting account with cPanel as long as the plan offered by the host supports "add-on" domains, in which case they will all sit in your public_html in their own directory.


3

Petras, The "number" of websites you are capable of hosting on a VPS is dependent on the type of load that each application is experiencing (and App Pool over head etc. too, of course). A better measure (although not definitive) would be how much traffic you are pushing - this is usually more indicative of the type of load your machine is under. You cannot ...


3

One way to fix permissions in the shared repository, so users won't have permission problems when pushing, is to create a post-update hook script which will do just that. This should work in any git version. Suppose you have a shared repository in /myrepo.git. All files in that repository belong to say mysharedgroup. All users pushing to that repository ...


3

Lastly, you could use strace. strace <program_to_execute will give you a ton of info, including calls to libraries. It's not nearly as clean as the other answers, but it's another way of doing things. (and useful in its own right) --Christopher Karel


3

This use case is exactly what WebDAV excels at. I'd recommend going that way unless you want the added complexity of a proper Document management system (Alfresco, Sharepoint, etc.).


3

Yes. Essentially, the total bandwidth will be distributed amongst all competing users, so if someone has an application that talks enthusiastically enough to the internet, and if noone else is doing so, she'll get all the bandwidth. How things are decided if the bandwidth is contended is a long and complex issue, but the practical upshot is that unless you ...


2

I'm not sure exactly what your setup is but if you are (or were) part of a large mail system make sure one of the MTAs isn't configured to still consider the old domain to be local. We recently migrated out of a very large (county wide) mail system to Google Apps and while the MX records changed the MTA in the old system still considered our domain to be ...


2

Contact the software provider and get a quote for an academic license. It's usually much cheaper than a normal retail license. Failing that, pony up for the license.


2

My first suggestion would be to have each of the affected users delete all of their shares (net use /d *) and then log out and back in. Your login script may not be mapping drives that were already mapped to the old server. Also, add some logging/debugging statements to your login scripts - if you don't know what's going on, we can only guess based on what ...


2

generally you don't need to mount a network share under windows. you can type "\server\share" (without quotes ofc.) into the address bar of an explorer window (or use ctrl+r to get the "run command" window and enter it there). you can start programs off the share, open documents, and so on. for windows applications this is transparent, they do not need to ...


2

C:\Windows\System32\drivers\etc Open the Hosts file in notepad. Add a line which says: 192.168.100.101 NewNameMycomputer I Hope this works for you. You can add more lines as above to link your ip address to multiple names.


2

GFS2/OCFS2 via DRBD allow a pair of servers to run dual primary as clustered storage. Your web frontends would pull from that shared pair. You could have multiple heads sharing a single FC attached media using either as well, or, could use NFS to have a single shared filesystem used by each of the web frontends. If you use NFS with DRBD, remember that you ...


2

In addition to ldd, cat /proc/$pid/maps will show you which libraries have been mapped into memory, including dynamic ones loaded after program start (and deleted items too)


2

Also you could look at a standalone device such as an axis document server I have one of these at home and it integrates with AD/LDAP.


2

You can get the multifunction printers that just send you the scanned document via email. Simple and efficient...



Only top voted, non community-wiki answers of a minimum length are eligible