00:11.52 | jake | hmm.. describe better.. |
00:12.04 | jake | haven't checked out samba config on nslu.. |
00:12.23 | Gaijin42_ | well, I have a standard unslung |
00:12.23 | jake | but if I compile samba, default setting is that dot files are hidden.. |
00:12.32 | jake | for example ".file" isn't shared. |
00:12.42 | jake | rest of should be shared. |
00:12.44 | Gaijin42_ | I installed inetutils, and set up ftpd |
00:12.51 | Gaijin42_ | ftp in, log in as root |
00:12.53 | Gaijin42_ | upload files |
00:13.03 | Gaijin42_ | I can see the directory from windows, but get permissions denied |
00:13.13 | Gaijin42_ | (if I created a new dir via ftp) |
00:13.24 | Gaijin42_ | I chmod on the dir, and I can go into it |
00:13.32 | Gaijin42_ | ls via ssh shows me all the files |
00:13.39 | Gaijin42_ | windows shows no files |
00:13.44 | Gaijin42_ | they are not . files |
00:13.50 | jake | ah yes :D |
00:13.54 | jake | you logged in as root. |
00:14.11 | jake | this sets ownership on ftp'd files to root:root (user:group) |
00:14.13 | Gaijin42_ | I thought about that |
00:14.21 | jake | These files are not shared. |
00:14.30 | Gaijin42_ | so I did chown admin.everyone |
00:14.32 | jake | if you haven't logged in to smb as root.. |
00:14.47 | Gaijin42_ | and the files didnt show up. Do I have to update an index? |
00:14.56 | jake | okay. Can you see/access other files (the ones that are not sent by ftp) which have same permissions? |
00:15.04 | Gaijin42_ | yesa |
00:15.17 | jake | in smb there shouldn't be any index.. |
00:15.34 | Gaijin42_ | I can also see the files fine via the web gui |
00:15.47 | jake | Haven't setup my nslu2 yet, but I have a same-like system on my server.. |
00:16.17 | jake | I have smb sharing with read/write (with guest permission) /home/ftp/pub and /home/ftp/upload |
00:16.34 | jake | and I can put files to my upload dir with ftp. |
00:16.46 | Gaijin42_ | I wrote into a directory that was already samba shared |
00:16.58 | Gaijin42_ | maybe I have to remount samba to refresh or something? |
00:17.13 | jake | no. I guess you just have wrong dir or something.. |
00:17.32 | Gaijin42_ | I can see the files via ssh. I am pretty sure I am in the right dir |
00:17.35 | jake | Try it this way, upload something to your nslu with smb. |
00:17.48 | jake | yes, but dir. propably has different rights on smb side. |
00:18.43 | jake | ssh to your box and find that file. |
00:18.52 | jake | check permissions. |
00:19.10 | jake | then share that same directory with your ftpd.. |
00:19.43 | jake | and if files aren't still shown, check that it has same rights as file uploaded via smb interface. |
00:20.38 | jake | still there? Any progress? |
00:21.01 | Gaijin42_ | it wouldnt let me uplaod into that FTP created directory |
00:21.16 | Gaijin42_ | i uploaded into a different dir, and noticed that the file had execute perms |
00:21.23 | Gaijin42_ | so I am trying chmod 777 |
00:21.37 | Gaijin42_ | that was it |
00:21.47 | Gaijin42_ | for some reason 666 doesnt work, but 777 does |
00:21.48 | jake | :) |
00:21.56 | jake | It needs execute bit.. |
00:22.01 | Gaijin42_ | why? |
00:22.03 | jake | as this is also known as search bit. |
00:22.04 | Gaijin42_ | just to browse? |
00:22.09 | jake | to search. |
00:22.29 | Gaijin42_ | I wasnt searching, just opening the folder via samba |
00:22.39 | jake | yes, but your smb server was searching :) |
00:22.52 | Gaijin42_ | bah |
00:22.56 | Gaijin42_ | that is a bunch of crap : |
00:22.56 | jake | same behaviour usually on httpd servers.. |
00:22.57 | Gaijin42_ | :) |
00:23.01 | Gaijin42_ | thanks for the help tho |
00:23.05 | jake | nope, it's server technology :D |
00:23.15 | jake | I did nothing. |
00:23.22 | jake | You found reason by your self. |
00:23.35 | jake | But glad that you made it work the way you want it to work.. |
00:23.53 | Gaijin42_ | can I get ftpd to save files with those flags by default? |
00:24.06 | jake | brb |
00:24.34 | jake | propably. |
00:24.38 | jake | What ftp server it is? |
00:24.45 | Gaijin42_ | inetutils |
00:24.53 | jake | proftpd has support for changing mode while file write. |
00:25.14 | jake | inetutils.. hmm.. ain't that just a tcp wrapper to start ftpd.. |
00:25.19 | Gaijin42_ | I dunno |
00:25.24 | jake | try ftpd -v |
00:25.28 | Gaijin42_ | Im not much of a linux guru |
00:25.28 | jake | or -V |
00:25.29 | jake | or --v |
00:25.31 | jake | or --V |
00:25.32 | Gaijin42_ | what is -V? |
00:25.43 | jake | one of 'em should be version |
00:25.48 | jake | might also be --version |
00:26.16 | Gaijin42_ | ftpd (GNU inetutils) 1.4.2 |
00:26.21 | jake | hmm.. |
00:26.24 | jake | I'll google for it.. |
00:28.41 | jake | do you have /etc/ftpd.conf ? |
00:28.56 | jake | or ftpd.conf in somewherE? |
00:28.59 | Gaijin42_ | no |
00:29.05 | jake | http://lists.gnu.org/archive/html/bug-inetutils/2004-10/msg00007.html |
00:29.21 | jake | it seems to be using ftpd.conf for config settings according to that thread.. |
00:29.29 | Gaijin42_ | ok, cool |
00:29.30 | Gaijin42_ | danke |
00:29.44 | jake | haven't yet found a list of options for it.. |
00:29.51 | jake | but if you find this file in your system.. |
00:30.13 | jake | it might contain parameters and definitions with documentation. |
00:32.07 | jake | http://www.hmug.org/man/5/ftpd.conf |
00:32.13 | jake | Don't know if that's correct.. |
00:32.18 | jake | but when you find this file.. |
00:32.22 | jake | according to that man page.. |
00:32.29 | jake | you could add there this parameter: |
00:33.06 | jake | modify chmod on |
00:33.18 | jake | this will allow chmodding with ftp client.. |
00:33.34 | jake | then we need to find parameter to automaticly chmodding to 777. |
00:33.39 | Gaijin42_ | nifty. thanks |
00:33.41 | *** join/#nslu2-linux TimmiB (~Tim@pD95ECBB5.dip.t-dialin.net) |
00:34.32 | jake | found it. |
00:34.39 | jake | and you don't need to modify chmod on.. |
00:34.46 | jake | it's on as default. |
00:34.47 | Gaijin42_ | you rock dude :) |
00:34.56 | Gaijin42_ | cool, so I can chmod from inside ftp |
00:35.01 | jake | use parameter "umask all 777" |
00:35.09 | jake | and "umask guest 777" |
00:35.24 | jake | this will make all uploaded files to 777. |
00:35.35 | jake | for users and for guest (if guest account is activated) |
00:35.41 | Gaijin42_ | cool |
00:36.01 | jake | just find ftpd.conf |
00:36.15 | jake | or write one to /etc |
00:36.46 | jake | as other default values seem to be ok, you can do it like this: |
00:37.03 | jake | echo "umask all 777">/etc/ftpd.conf |
00:37.14 | jake | echo "umask guest 777">>/etc/ftpd.conf |
00:37.25 | jake | see that in second command, there's >> instead of > |
00:37.30 | Gaijin42_ | yep, to append |
00:37.39 | jake | if you use >> it will append and > will overwrite. |
00:37.49 | jake | after this, you need to restart your ftpd. |
00:37.58 | jake | so new settings will be used. |
00:38.09 | Gaijin42_ | thanks dude |
00:38.18 | jake | just kill it. |
00:38.32 | jake | and then restart it. |
00:38.45 | jake | if it won't work, it can't search automaticly from /etc/ftpd.conf |
00:38.54 | jake | then you need to start it with a switch -c |
00:38.55 | jake | like this: |
00:39.15 | jake | your_ftpd_command -c /etc |
00:39.44 | jake | but I guess you don't need to. As it should be compiled in as default location according to man page I just readed. |
00:40.38 | jake | It's working, right? |
00:41.23 | glc | You might also try reading the inetutil docs that were installed in /opt/doc/inetutils. |
00:42.12 | glc | They should also be browsable from the nslu2 web interface from the help/nslu2 docu page/ |
01:01.04 | ka6sox-laptop | Christopher: the config files are "generic" for netatalk. they get modified after you do the install for your particular installation. |
01:04.02 | Christopher | pk |
01:04.04 | Christopher | ok |
01:04.20 | ka6sox-laptop | it installs corrctly |
01:04.26 | ka6sox-laptop | so your packaging is right. |
01:04.27 | ka6sox-laptop | thanks! |
01:04.28 | Christopher | ok, good |
01:04.31 | Christopher | np |
01:05.15 | Christopher | so we just need to tell rwhitby to put it in the package repository? |
01:05.54 | ka6sox-laptop | it *should* be there. |
01:05.57 | ka6sox-laptop | let me look |
01:06.02 | Christopher | oh ok |
01:07.01 | Christopher | so, you going to do a write-up for the wiki? :-) |
01:08.11 | ka6sox-laptop | yes I will but credit you for making the package. |
01:09.38 | ka6sox-laptop | okay it's not there in the .ipk repository. |
01:09.54 | ka6sox-laptop | let me work with rwhitby on that. |
01:12.44 | Christopher | ok, thanks, I'm kinda outta commission, had my wisdom teeth out today |
01:31.47 | *** join/#nslu2-linux rwhitby-web (www-data@netblock-66-159-209-60.dslextreme.com) |
01:32.08 | rwhitby-web | jake: the conf files should be under /opt/etc for packages ... |
01:33.30 | rwhitby-web | Christopher: if ka6sox-laptop's script is working, then any package added to PACKAGES in the Makefile should appear in the repository automatically within an hour or so. |
01:34.11 | rwhitby-web | we're taking the rwhitby-delay out of the equation, and replacing it with public humiliation through error messages on the irc channel if your package fails to compile :-) |
01:35.22 | scanline | could set something up with CIA-4 for reporting automatic build results ;) |
01:36.29 | rwhitby-web | we're going to do that by having a build error log file in CVS, and use the tail of the error log as the checkin comments |
01:36.58 | scanline | it will always make a commit after trying to build the package? |
01:37.11 | rwhitby-web | so the person who is implicated by the package can see that an error has occurred, and check the error log file to see what the error is in total |
01:37.25 | scanline | ah, I see |
01:37.35 | rwhitby-web | it will commit if any packages in the PACKAGES variable have errors, yes. |
01:37.40 | scanline | I guess that gives you a history of errors and postings to the cvs mailing list for free |
01:38.02 | rwhitby-web | (and will only report the first one with an error - the premise being that packages don't get added to the PACKAGES var until they are fully tested) |
01:38.09 | scanline | it's possible to send build results directly to CIA, but I think the only project using this so far is PLD |
01:38.30 | rwhitby-web | if the build is successful, then no messages |
01:39.11 | rwhitby-web | Didn't think of sending the result directly to CIA - that would definitely be an alternative |
01:39.38 | rwhitby-web | but we're lazy, so just checking in a CVS file does the trick :-) |
01:40.07 | rwhitby-web | anyone else see the Perl build on the mailing list? |
01:40.42 | rwhitby-web | I reckon we should ask him to rebuild it with the right paths for Unslung, and then have an unslung package which just grabs his binaries, and packages them up properly ... |
01:44.47 | *** join/#nslu2-linux McTails (~mcasadeva@ool-182d2d1c.dyn.optonline.net) |
01:44.57 | McTails | hi |