Skip navigation.

exploreopera

| Help

Sign up | Help

v.plonk!

I want to fly like an eagle...

permission denied...

,

For several hours I tried to fix a small "bug" in my subversion installation, but without any results. I commited a file to subversion successfully, but the hook "post-commit" didn't do anything at all. So I logged on to my server, started the hook manually and it worked perfectly.

So what went wrong? Well... it all started with my login to the server. As I'm pretty lazy, I (locally) logged in as root, installed subversion, created the logfiles and so on. Everything seemed fine and as commiting worked too I was pretty happy. Then I changed the hook to update the logfiles but nothing happened. I started the hook manually... and it worked. :eyes:

So I started to read several blogs about subversion, read online manuals, tutorials and so on... nothing helped. :irked:

When I asked a friend concerning this problem I suddenly had an idea... I logged on the server switched the user to my testuser and started the hook manually:

[testuser@localhost hooks] $ sh post-commit
post-commit: line 54: /var/log/svn/project.log: Permission denied
post-commit: line 55: /var/log/svn/project.log: Permission denied


After adjusting the permissions and ownership of the logfile everything works totally fine now. I still can't believe how blind I have been... :ko:

CVS replaced by SubversionHva er denne figur? What is this statue called?

Comments

avatar
Too much time spent in WinXP, running as admin as a matter of fact? :smile:

By claudeb, # 24. February 2008, 12:19:24

avatar
OH!My god!I really don't know what you told about,my english is so bad!I must to inprove my English!:irked:

By bighead2007, # 24. February 2008, 14:22:37

avatar
I suppose we all have these moments now and then :wink:

By Treggats, # 24. February 2008, 16:12:38

avatar
In fact I spent almost 2 weeks in installing and configuring our new server and at some point I was just too lazy to login as user, su root do my config stuff, return to my user and test it. So I just logged in as root did my stuff, tested it, it worked fine, I was happy and went home.

I guess after 2 weeks I just forgot that root always works fine, but as I'm totally paranoid about external users I have a pretty restrictive permission setup. At least the machine now runs smoothly and I will surely remember the hours I spent on this problem for a long, long time. :rolleyes:


And concerning my WinXP... my working account isn't able to install/setup anything, but that's fine. I just can't trust machines where a blue screen doesn't mean anything good! :yuck:
I love my C64!

By Schalandra, # 27. February 2008, 09:30:28

avatar

Originally posted by Schalandra:

I just can't trust machines where a blue screen doesn't mean anything good!


Speaking of that, about a month ago I noticed a monitor on somebody's desk showing a dual-pane, text-based, blue-background file manager. Yes, it was running full-screen on a 17'' display. Knowing I was the only Linux kid on the block, I was curious to learn more about it. Turns out it really was a WinXP box running something called FAR Manager (or something like that). The guy actually liked it better than the desktop. It made my day.

P.S. You still have a working C64? Cool! But I'm not sure I'd have the patience to use a real micro nowadays. Emulators FTW P:

By claudeb, # 27. February 2008, 12:18:12

avatar
A working C64? I have 2! A C64C and a C64G, a 1541, a 1541-II and last but not least a 1530 Datasette. All still working. :happy:

Besides I'm using an emulator (in fact I have 3 different ones) for watching most demos I get my hands on... but sometimes the demos just don't work perfectly on an emulator and the REAL fella got to make my day. :love:

By Schalandra, # 27. February 2008, 12:41:13

avatar
Great theme !
i like it
wish i could learn how to !
bravo :yes:

By rezadotcom, # 27. February 2008, 20:34:54

Write a comment

You must be logged in to write a comment. if you're not a registered member, please sign up.