**** BEGIN LOGGING AT Sat Feb 12 23:59:56 2005 Feb 13 12:20:56 hello Feb 13 12:21:54 hi.. Feb 13 12:22:36 I have a couple of questions... Feb 13 12:22:49 will try to answer a few Feb 13 12:23:12 If I create a file using ssh or ftp, I can see it in Windows Exploder. Feb 13 12:23:31 If I pop a command prompt, cd to that directory and do a dir, that file is not there Feb 13 12:24:04 I have win32 unix commands installed and if I do ls, I can see the files from command prompt Feb 13 12:24:32 Why can't dir list these files? Feb 13 12:24:44 nice behaviour ;-) i think something is wrong with your directory permissions Feb 13 12:26:16 or much easier, have you tried a "ls -la", and what you mean, create a file using ssh? Feb 13 12:27:01 For example, I get an unslung package list and then cp it to /share/hdd/date/somefoler Feb 13 12:27:37 the 'dir' command doesn't list this file. Feb 13 12:28:10 dir on dos/win or dir on shell? Feb 13 12:28:29 dir on win (winxp command prompt) Feb 13 12:29:07 and yxou do a dir \\myshare\somefolder ? Feb 13 12:29:16 s/yxou/you Feb 13 12:29:28 yes Feb 13 12:29:40 stay tuned, must try that Feb 13 12:30:00 thanks Feb 13 12:31:11 another question, get an unslung package list means ipkg list > /share/hdd/data/somefolder/mylist ? Feb 13 12:31:52 yes Feb 13 12:34:42 ok from the slug Feb 13 12:35:07 [root@linus conf]$ ipkg list > /share/hdd/data/mp3/mybla Feb 13 12:35:20 [root@linus conf]$ ls -la /share/hdd/data Feb 13 12:35:34 drwxrwxr-x 30 admin everyone 4096 Feb 13 21:27 mp3 Feb 13 12:35:45 and now from win cmd Feb 13 12:36:21 D:\Dokumente und Einstellungen\joerg.INFOSERVER>dir \\linus\mp3 Feb 13 12:37:17 13.02.2005 21:27 10.714 mybla Feb 13 12:37:29 so i think, it works for me Feb 13 12:37:54 what are the permissions of /share/hdd/data/somefolder? Feb 13 12:38:55 the 'somefolder' has admin/everyone Feb 13 12:39:26 but the file is root/root Feb 13 12:39:33 k Feb 13 12:39:53 when i log in as admin, i can nolonger do ipkg list Feb 13 12:40:14 that's right cause youre the owner of the file Feb 13 12:40:32 ipkg, may be don't know whos own ipkg Feb 13 12:41:21 it's executable by everybody Feb 13 12:42:44 but my setup here is possibily not the same as yours Feb 13 12:43:40 i've another user e.g. joerg witch have also root permission, and this is the user which is logged on on the win machine Feb 13 12:44:18 that may be it Feb 13 12:44:23 I am an admin Feb 13 12:44:29 not root Feb 13 12:44:49 when I ssh to the slug, I am root, which is why I have permission problems Feb 13 12:45:05 when moving files into the windows visible area Feb 13 12:45:43 so i think on a NAS it isnt usefull to work as another user than root (IMHO) Feb 13 12:46:00 give it a try and login as root Feb 13 12:46:31 Now, your windows user, does that user have root permissions? Feb 13 12:46:48 I am assuming you are using windows, correct? Feb 13 12:47:11 on slug, yes... xp pro yes Feb 13 12:48:07 and he have also group membership administrators at samba Feb 13 12:51:00 try another user with only user privilegs, one moment please Feb 13 12:51:40 I have to step out for ~20 minutes. I will be back. Feb 13 13:44:28 so tried another user, everything works fine "elke" can echo something to /share/hdd/data/mp3 an in a dos box i can list that file Feb 13 13:47:33 having problems, caplink? Feb 13 13:48:11 no. not me, talking to childeb1 Feb 13 13:48:12 I am the owner of the files, the group is everyone and permissions are 777 and I still cannot see these files with a dir command Feb 13 13:48:14 thx Feb 13 13:48:24 ah... Feb 13 13:48:44 smb config error that was introduced somewhere along the line Feb 13 13:48:48 I had it too Feb 13 13:49:19 is that for me? Feb 13 13:49:22 yes Feb 13 13:49:52 Is there a way to fix this? Feb 13 13:50:17 basicly, the samba config is being told to interpret other execute (on share) as "system" on windows/dos Feb 13 13:50:33 let me grab the scripts I ran to change permissions to work Feb 13 13:50:42 k, thanks Feb 13 13:51:00 another q. is there a .rc file where I can create alias'es Feb 13 13:51:16 childeb1: explain it pls Feb 13 13:51:18 eg. ll -> ls -lt Feb 13 13:51:30 do you use bash or sh? Feb 13 13:51:30 when I log into the slug, I want to have an alias ll Feb 13 13:51:33 sh Feb 13 13:52:00 alias ll='ls -ltr' Feb 13 13:52:25 bash ca do that, if sh can, i don't know... Feb 13 13:52:34 childeb1, warning,,, these scripts can take a while to run Feb 13 13:52:54 ok Feb 13 13:52:57 find . -type d -exec chmod 775 {} \; Feb 13 13:53:10 that will get the folders to the correct permissions Feb 13 13:53:37 find . -type f -exec chmod 760 {} \; Feb 13 13:54:03 that will change ALL files (but not folders) to working permissions Feb 13 13:54:36 we really need to get a slugbug filed on that samba problem Feb 13 13:55:24 childeb1: found that for sh and aliases http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?sh Feb 13 13:56:11 thanks for the link, will check it out. Feb 13 13:56:22 childeb1: but imho it's more comfortable to use bash Feb 13 13:57:10 Use .bashrc file for aliases in bash? Feb 13 13:57:17 childeb1: there you could define aliases in /etc/profile or ~/.bashrc similar to alias "ll=ls -la" Feb 13 13:57:49 childeb1: .bashrc, yes, works fine for me Feb 13 13:58:57 How do you change to bash. Feb 13 13:59:45 childeb1: ipkg install bash ;-) Feb 13 14:00:51 childeb1: and, if you not be user root, change the loginshell to /opt/bin/bash in /etc/passwd and the other places. Feb 13 14:06:04 its not reading my .bashrc Feb 13 14:06:10 located in /root/.bashrc Feb 13 14:09:12 yeah, here it's "execute" /etc/profile /root/.profile and /root/.bashrc, did you do a logoff and logon? Feb 13 14:09:40 and these file should readable by you.. Feb 13 14:09:46 s/file/files Feb 13 14:10:48 .profile worked Feb 13 14:10:55 thanks Feb 13 14:13:46 childeb1: gonna be out f town for one to three days, but wanna lookup and test your smb problem with another machine, and another use, but maybe took awhile Feb 13 14:14:19 caplink811, I can confirm the prob with smb Feb 13 14:14:41 ByronT: fine that save me work Feb 13 14:14:48 I had it and those scripts should allieviate the issue (group execute is a bad boy right now) Feb 13 14:15:10 ahh Feb 13 14:15:40 thanks for the help. Feb 13 14:16:18 ByronT: ok, gonna learn more, everyday, everywhere ;-) aeh, allieviate? english is not my native Feb 13 14:16:19 I'm going to dig into CVS and see if I can find something... Feb 13 14:16:28 gonna ask a dictionary Feb 13 14:16:33 alleviate - resolve, take care of Feb 13 14:16:39 thx Feb 13 14:17:29 in my TZ it's time to say good nite all, so, nite all Feb 13 14:18:03 thanks again. Feb 13 14:18:06 nite Feb 13 14:18:30 de nada ?! **** ENDING LOGGING AT Sun Feb 13 23:59:56 2005