Hi fvdw,
Thanks a lot for compiling :) Couldn't find a way to get it to work...
I have created a share for psyBNC in /share/1000/:
- Code: Select all
root@tomcat:/share/1000 # ls -al
total 92
drwxr-xr-x 12 root root 4096 2012-11-09 01:09 .
drwxrwxrwx 3 root root 4096 2011-06-03 02:37 ..
drwxrwxrwx 2 root root 4096 2012-11-09 01:09 fvdw
drwx------ 2 root root 16384 2000-01-01 21:40 lost+found
drwxrwxrwx 2 root root 4096 2010-12-22 14:30 mt-daapd
-rw-r--r-- 1 root root 25314 2010-12-22 14:51 mt-daapd.log
drwxrwxrwx 3 root root 4096 2012-11-08 20:08 private
drwxrwxrwx 8 benjamind benjamind 4096 2012-11-09 00:40 psybnc
drwxrwxrwx 8 root root 8192 2012-11-09 00:34 public
drwxrwxrwx 4 root root 4096 2012-09-23 12:12 tf-downloads
drwxrwxrwx 3 root root 4096 2012-09-23 12:15 tflux
drwxrwxrwx 5 root root 4096 2012-11-06 21:46 tr-daemon
drwxrwxrwx 2 root root 4096 2012-09-23 12:02 tr-downloads
However, when I run the psybnc script I get a 'permission denied' failure:
- Code: Select all
root@tomcat:/share/1000 # ./psybnc
-sh: ./psybnc: Permission denied
I'm quite new to Linux, so bear with me :) Do you know what I'm doing wrong here? Does this have something to do with user benjamind who is owner of this folder?
*edit after some google searches :)*
Hmm, I've changed the owner of de folder + files, but still I do not seem to have permission to run the script:
- Code: Select all
root@tomcat:/share/1000/psybnc # sudo chown -R root:root /share/1000/psybnc/
- Code: Select all
drwxr-xr-x 12 root root 4096 2012-11-09 01:09 .
drwxrwxrwx 3 root root 4096 2011-06-03 02:37 ..
drwxrwxrwx 2 root root 4096 2012-11-09 01:09 fvdw
drwx------ 2 root root 16384 2000-01-01 21:40 lost+found
drwxrwxrwx 2 root root 4096 2010-12-22 14:30 mt-daapd
-rw-r--r-- 1 root root 25314 2010-12-22 14:51 mt-daapd.log
drwxrwxrwx 3 root root 4096 2012-11-08 20:08 private
drwxrwxrwx 8 root root 4096 2012-11-09 00:40 psybnc
drwxrwxrwx 8 root root 8192 2012-11-09 00:34 public
drwxrwxrwx 4 root root 4096 2012-09-23 12:12 tf-downloads
drwxrwxrwx 3 root root 4096 2012-09-23 12:15 tflux
drwxrwxrwx 5 root root 4096 2012-11-06 21:46 tr-daemon
drwxrwxrwx 2 root root 4096 2012-09-23 12:02 tr-downloads
- Code: Select all
drwxrwxrwx 8 root root 4096 2012-11-09 00:40 .
drwxr-xr-x 12 root root 4096 2012-11-09 01:09 ..
-rw-rw-rw- 1 root root 16169 2008-10-13 18:57 FAQ
drwxrwxrwx 2 root root 8192 2012-11-09 00:41 help
drwxrwxrwx 2 root root 4096 2012-11-09 00:40 key
drwxrwxrwx 2 root root 4096 2012-11-09 00:40 lang
drwxrwxrwx 2 root root 4096 2012-11-09 00:40 log
drwxrwxrwx 2 root root 4096 2012-11-09 00:40 motd
-rw-rw-rw- 1 root root 221304 2012-11-08 23:34 psybnc
-rw-rw-rw- 1 root root 77 2007-03-20 14:52 psybnc.conf
-rw-rw-rw- 1 root root 35502 2008-10-22 19:59 README
drwxrwxrwx 3 root root 4096 2012-11-09 00:40 scripts