Server :: SVN And SSH - Creating Directories For Projects In Repo

Feb 18, 2011

I am setting up an SVN server (svn+ssh) that will be used by students at the university where I work. I was considering in the beginning, one single repository and eventually creating directories for each project inside the repository. It seems to me now, that it is not very secure way of doing things. The directory on the server will be with rights 770 and this means that every student can come on the server and sweep out the whole repository.

Also mistakenly or not, every student can 'svn delete' the whole repository, which could be a nightmare to recover from. An issue might be to create groups and then assign users to groups and then create many repositories and each repository to be assigned with group. This means that I will have to manage tens or hundreds of repositories -- maybe not very common task. What is an optimal solution for this working environment.

View 5 Replies


ADVERTISEMENT

Software :: Creating Repo File - Installing Yum - Error

Jan 19, 2011

After creating repo file,when i am trying to install yum on my system....i am getting the following error:-

Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again

I am unable to catch the problem..

View 1 Replies View Related

Fedora Installation :: Creating Local Repo For HTTP / FTP Installs

Jul 15, 2009

I'm having trouble installing Fedora 11 using the URL method. When I put in a F11 netinstall CD, or even Disc 1, I press tab on the first option and add "askmethod" to the end of the text. Each time I point the installer to my local FTP and press enter after typing in the FTP url, the installer just hangs there. I've even tried deleting ALL the files from the F11 folder on my FTP server and downloaded ALL the files at:
ftp://ftp.linux.ncsu.edu/pub/fedora/...edora/i386/os/

Still...the same thing.
When I pointed the installer to:
ftp://ftp.linux.ncsu.edu/pub/fedora/...edora/i386/os/
Everything worked fine, albeit slow as it was DL from the NCSU FTP server.
Am I doing something wrong with my FTP server? It is anon, so there is no authentication issues.

View 5 Replies View Related

General :: Creating Multiple Directories?

Mar 28, 2010

I need to create subdirectories in about 300 existing directories - the subdirectory will have the same name in all 300 existing directories. How do I do this using the mkdir command using a regular expression or globbing?

View 3 Replies View Related

Ubuntu :: Creating Directories Owned By Specified User

Jul 15, 2010

I have just installed an SSD as a secondary hard drive and formatted as ext4. (the Ubuntu installation is on a different drive)how I would go about creating a directory on the SSD that is owned by the user 'Test user'.

View 8 Replies View Related

General :: Giving Ownership While Creating Directories?

Jan 27, 2010

Is there any way by which one can give ownership while creating directories itself. It should be one command otherwise it requires root login to change ownership of a directory.

View 4 Replies View Related

General :: Svn: Berkeley DB Error While Creating Environment For Filesystem Repo/db: Invalid Argument

Apr 14, 2009

I'm having trouble getting subversion working on Centos 4.7. When I try to create a repository using:

Code:
svnadmin create /path/to/repo
I get:
Code:

svn: Berkeley DB error while creating environment for filesystem repo/db: Invalid argument
svn: bdb: Berkeley DB library configured to support only DB_PRIVATE environments

I've searched the Net, with little luck. Threads seem to suggest that Centos has this flag compiled into the Berkeley DB RPM by default; whereas SVN doesn't want it. Someone, somewhere, must have got this to work and I'm sure it's something really simple I'm doing wrong.

[code]....

View 1 Replies View Related

Ubuntu :: Rsync Creating Wrong Permissions For Directories?

May 1, 2010

I try to use rsync for backing up some directories and I have to following problem: some files have permissions that prevent me from running rsync under my own user id. So I run it under root using the option "-a" which according to the man page should preserve the permissions, owner and group information:

However, when I run this under root, the directories created in the backup location get user root and group root while ordinary files keep the original user and group. What am I missing here? How can I get rsync to preserve the user and groups for all files, including directories?

Here is a command to illustrate my problem
Code:
sudo rsync -a /home/youruser /tmp

If you try that and terminate with Ctrl-C after a few seconds, there will be a directory /tmp/youruser where the directories contained within are owned by root group root.

View 2 Replies View Related

Ubuntu Installation :: Creating Directories Owned By A Specified User On SSD?

Jul 15, 2010

I have just installed an SSD as a secondary hard drive and formatted as ext4. (the Ubuntu installation is on a different drive) Im very new to linux, Could someone inform me how I would go about creating a directory on the SSD that is owned by the user 'Test user'

Im sorry if this is a daft question, im just moving from windows to linux and struggling a lot.

View 3 Replies View Related

CentOS 5 :: How To Setup Subversion Server To Run Multiple Projects

Jan 17, 2011

I want to know How to set up Subversion server to run Multiple Projects? I want something to manage it over the web or manage it over kloxo as I am currently using control panel kloxo.

View 3 Replies View Related

Software :: Creating A .deb File That Extracts Files To Pre-determined Directories?

Oct 21, 2010

I am wondering how I would go about creating a .deb file that would extract it's contents to two different folders. I would have one file directory that should be extracted to /opt and I have a second that should bextracted to the current user's home folder and /etc/skel - How would I go about doing this?

View 1 Replies View Related

General :: Command Line - Create Directories That Don't Exist While Creating A New File?

May 8, 2010

I can do:mkdir messages and then: touch messages/hello.txt Is there a command that will do both - create the directory if it doesn't exist, and then the empty file? Something like: touch -p messages/hello.txt

View 1 Replies View Related

Ubuntu :: Automate Creating Directories Based On File Names And Moving Files Into Them

Apr 30, 2011

I have a bunch of .7z files in a directory, and I need to put each one of them into a separate directory, named after the file (without extention). The command line I use:

Code:
find . -type f | mkdir `sed -e "s:..(.*)...:1:"` ; ls | grep .7z | cp * `sed -e "s:(.*)...:./1/:"`
Copying fails though:

[Code]....

PS. I don't want to use scripts, I want to do it using simple commands and piping.

View 5 Replies View Related

General :: Creating A Script To Move Or Copy Files Into Multiple Directories Below The Files?

Aug 25, 2009

How can you create a script to move or copy files from a main directory into multiple directories below the main directory.

View 7 Replies View Related

CentOS 5 Server :: What Is Configure Option Of Mysql Server From Repo?

May 6, 2010

what is configure option of Mysql server from Centos repo? I mean configuration option used before compilation.

View 1 Replies View Related

Fedora Installation :: Updates After Install And Repo Lists / Saying Repo Not Found?

Mar 26, 2011

i'm attempting to know and understand fedora more and i will spend probably the next month pouring through all the forums and documents to answer more of my own questions. but there's quite a bit here, so i'd thought i'd ask some noob questions to get me started a little.

ive installed fedora 14 64bit and chosen only kde as the desktop. i selected an extra 2 repos besides the default, fedora 14 -x86_64 and fedora 14-x86_64 -updates. i believe this kernel is installed: 2.6.35.11-83

1. i can only see the 2 extra repo's as being "checked" in kpackagekit, shouldn't i see the default repo also ?

2. i dont have an applet in the system tray indicating the system is up to date, does fedora have this by default ? also after a clean install i ran yum check-update and yum update but the message sayes: "no packages marked for update". i'm not sure if the system is auto-updated during install or not, but with other distros iv tried there is always atleast a few updates needing to be done after install.

3. is kpackagekit the fedora gui package manager ? i dont see any others.

4. i want to upgrade to nvidia drivers, but i think i am missing a non-free repo or something. when i enter: yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64 i get messages stating "no package" i get the same message with yum install nvidia-settings.i also tried this: LANG=C yum --enablerepo=rpmfusion-nonfree info akmod-nvidia but it sayes repo not found.

View 4 Replies View Related

OpenSUSE :: KDE 4.4 And Updates Repo / Add The KDE Factory Repo To Get Update?

Apr 5, 2010

Will KDE4.4 eventually move into the 11.2 updates or do I have to add the KDE Factory repo to get this update?

View 3 Replies View Related

Server :: Rsync Files And Directories From A RedHat Host To A Windows Server 2003R2?

Jun 9, 2011

I'm trying to rsync files and directories from a RedHat linux host(v 4.5 & 4.7) to a Windows server 2003R2 Standard Edition with cygwin running. I'm executing the rsync command from the cygwin shell. The transfer involves rsync'ing approximately 1 TB of data from the linux server to the windows server. After about 280+GB of data transfer, the transfer just dies.

There seems to be no particular file or directory that the transfer stops at. I'm able to rsync GB's of data from other linux hosts to this cygwin server with no problem. Files and directories rsync fine.The network infrastructure is essentially the same regardless of the server being rsync'ed in that it is GB Ethernet running through Cisco GB switches. There appear to be no glitches or hiccups across the network path.

I've asked the folks at rsync.samba.org if they know of any problems or issues. Their response has been neutral in that if the version of rsync that cygwin has ported is within standards then there is no rsync reason this problem should happen.I've asked the cygwin support site if they know of any issues and they have yet to reply. So, my question is whether the version of rsync that is ported to cygwin is standard. If so, is there any reason cygwin & rsync keep failing like this?

I've asked the local rsync on linux guru's and they can't see any reason this should fail from a linux perspective. Apparently I am our company cygwin knowledge base by default.

View 3 Replies View Related

OpenSUSE :: 'repo-non-oss': Failed To Cache Repo (139)

Oct 4, 2010

YaST-->Software-->Online Update Getting error: There was an error in the repository initialization. 'repo-non-oss': Failed to cache repo (139). History: - repo2solv.sh "/var/cache/zypp/raw/repo-non-oss" > "/var/cache/zypp/solv/repo-non-oss/solv"

Output of zypper lr:

# | Alias | Name | Enabled | Refresh
--+-----------------------+-----------------------+---------+--------
1 | openSUSE-11.0-Updates | openSUSE-11.0-Updates | Yes | Yes
2 | openSUSE-DVD 11.0 | openSUSE-DVD 11.0 | Yes | No

[code]....

If I disable the repo-non-oss repository the update works fine. The URL I have for the repo-non-oss repository is:

Index of /distribution/11.0/repo/non-oss

This has been going on for over a week. Do I need to use a different URL for the non-oss repository? I live in New York, United States.

View 4 Replies View Related

OpenSUSE Network :: Can't Use Repo Unless Specify The Server By IP?

Jan 10, 2010

I am currently using 11.2 with KDE but I have had this problem with Gnome and 11.2 RC 1 & 2. This started as an inability to use the internet but I found a way to disable ipv6 in /etc/fstab and I disable it in firefox and that has got me 99% functional. My only issue left is not being able to use any repos unless I can specify a server by IP. I have the opensuse repos working by looking at the mirror list and found one that did not use a DNS name and that was the end of that, but I cannot access packman or any others yet.

View 4 Replies View Related

Server :: RHEL 6 Local YUM Repo?

Aug 18, 2011

I'm trying to build a local YUM repository for RHEL 6 and am running into an issue. I can get the repo to build, but I cannot get the gruoplist. I can't find a comps.xml file to run the createrepo -g command against, like there is in RHEL 5. Here's what I have so far:

mkdir /yumrepo
copied RHEL 6 DVD contents to /yumrepo/rhel6
createrepo /yumrepo/rhel6/Packages
(repo builds its lis of 3500+ packages)
yum list shows the lsit of all files within the repo correctly.

I run gpk-application, and I receive the error "The group list was invalid." I need to create the group list. But I can't figure out how? Can someone please explain what I'm missing here? Never had this much trouble with 5, but I know a lot has changed with 6.

View 4 Replies View Related

Server :: Unable To Access Repo With SVN+HTTPS?

Jul 7, 2011

I am running Ubuntu 10.4 with Apache2, SVN and SSL. Both HTTP and HTTPS are working correctly with my website. Although the SVN setup I have is not working. This configuration gives me a 403 error.

Code:
<Location /svn>
DAV svn
SVNParentPath /srv/svn/repos
SVNListParentPath On

[Code]...

This issue is driving me up the walls. If there is any additional information, I will be more than happy to provide it.

View 5 Replies View Related

CentOS 5 Server :: Update Php To Testing Repo Php Via USB?

Dec 6, 2009

how can i update php to the latest version from the testing repo via USB ? my machine has no internet access and no cdrom, my only choice is via USB, i have a 2 gb USB.

edit: i am trying to follow this guide: [URL] since i have no internet access, i have downloaded all files to my USB stick. i added the testing repo manually. is there a way to instruct centos to update these packages from my usb stick ? since i have them on USB, i can upload them on centos.

View 2 Replies View Related

Server :: Apache - Redirect Sub-directories To Different Server?

Sep 29, 2009

My current setup is:

old server:
www.mydomain.com main site
www.mydomain.com/subdirectories related sites from same server, different directories

I am adding an additional server that I would like to initially only use for the main site, something like this:

new server
www.mydomain.com main site
www.mydomain.com/subdirectories would be pointed back to the old server instead

What's the best way to redirect the traffic for the sites found in sub-directories on the old server?

View 2 Replies View Related

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

General :: Multiple Users To Create Directories Over SFTP So The New Directories Keep The Same Permissions?

May 15, 2011

I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.

I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.

I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?

View 2 Replies View Related

CentOS 5 Server :: Lead Time On Repo Changes For Vsftpd?

Oct 19, 2009

I have never had the packaged vsftpd start with the ssl_enable option set to YES. The mysql on those servers works just fine with SSL enabled. After reading there seems to be a different package available on rh5 repo. This server shows up to date with 2.0.5-12.el5_3.1. The rh5 list shows 2.0.5-16_el5 per this:[URL].. My question is, is there a set lead time till adoption of current RH packages or is just random? I have to have SSL_ftp running and didn't want to step out of the repo lists if possible.

View 4 Replies View Related

CentOS 5 Server :: Making A Local Repo With Groups?

Apr 9, 2010

i just installed centos 5.4 and trying to make my local repo have groups listing of packages like the mirrors do

so i can make an spin off of the OS to my needs for web servers only / so on but
i cant get my head around the groups making part of the creatrepo

does anyone have any tips or hints or know how to make group listing of the packages

i copyed the DVD to hard drive and the repo .XML files they came with it and tryed that way but no luck yet

im running out of things to try

View 5 Replies View Related

CentOS 5 :: Tftp-server Package Not Available In I386 Repo?

Sep 21, 2011

So I'm playing around w/ some Cisco equipment and needed a quick tftp server. Go to command line and type yum install tftp-server. I get No Package available! I can clearly see it here on the i386 repo. Any ideas?? In the meantime, I'm just going to upgrade this lil 600m laptop to CentOS 6 to quickly solve the problem but I thought it was curious.

View 4 Replies View Related

OpenSUSE :: Removing A Repo - Error "can't Find The Data For The 'problem' Repo"

Nov 20, 2010

I wasn't paying proper attention when adding a repo to yast and need to find the file were the info is saved to delete this. The problem is that whenever i use yast it comes up with an error code saying that it can't find the data for the 'problem' repo. Have tried zypper rm but that comes up with a similar error advising that the data is in a format that was not expected. My thinking is to track the file were the yast repo source details are saved, delete this and then just add the repos that i use back.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved