[Techtalk] New to the list...new to linux

jenn at simegen.com jenn at simegen.com
Sun Sep 30 17:27:51 EST 2001


Tianna Thomas wrote:

> Thanks Kai!
> 
> I've been reading through the RedHat starter guide, so I've gotten changing
> file permissions, listing directories, changing directories, etc. down pat.
> I'm using SSH and my specific task right now is to get the contents of a
> directory (the directory I copied files too earlier) in an accessible form
> (I can't even see all the contents as the super user in the file manager) so
> that I can download them to my machine to edit.  I can see the contents at
> the command line, but not with the file manager.  I tried downloading the
> whole directory...I got the file structure (sub dirs) but no files.
> 
> I really don't understand this...I'm confused.  I went in and manually set
> the permissions on each file to FULL for everyone (this is why I created a
> separate file) and I still can't pull them down.

Hm. I'm confused, as well. In what way can you 'not see the contents'? What 
sort of files are they? When you use 'ls -l', do they seem to be the correct 
size?

Which file manager are you using?
What are you using to try to view the contents?

Sorry to ask so many apparently odd questions - but 'file manager' is a generic
term in Linux, and can mean one of a number of programs. :)
 
You should be able to simple 'scp' them (secure remote copy using ssh), if your
receiving machine can speak ssh and rcp (rcp: remote copy). 

Or ftp, if your receiving machine speaks ftp. Or even ftp FROM your receiving 
machine... or if you're running samba, you can put them on the share drive and
copy them using familiar windows shared-drive techniques.


.... if only you had a linux-familiar sysadmin there to set it all up for you! :)



> So I guess my questions are:
> 
> Is there a way to set the permissions for the entire contents of a directory
> in one place?

chmod (permissions) /this/directory/*

Replace (permissions) with what you want to set the permissions to.
The '*' is important - it means 'everything in the directory'. 


> Why can't I download these files?

What are you using to download them? If you tell us the exact command, someone will
probably go 'oh, you're using that option, that's the problem'. Or 'Oh, you're NOT using
that option'....




Jenn V.
-- 
     "Do you ever wonder if there's a whole section of geek culture
             you miss out on by being a geek?" - Dancer.

jenn at simegen.com     Jenn Vesperman     http://www.simegen.com/~jenn/





More information about the Techtalk mailing list