Page 1 of 1

Where do I put my files on the server?

Posted: Mon Mar 15, 2010 1:43 pm
by cahamahi
Where do I put my files on the server?

I found where I THINK they are SUPPOSED to be -- /var/hda/files/ ... etc

But when I try try to copy files there, it won't let me because I'm not the owner.

The owner of those folders seems to be "500" and I don't know how to privileges to read/right to that directory.

What am I missing?

(Part of my problem is that I'm used to Ubuntu and I'm having a learning curve with Fedora. I did successfully try doing a "SU" in the terminal screen but that didn't seem to give me any extra privileges. )

Re: Where do I put my files on the server?

Posted: Mon Mar 15, 2010 7:41 pm
by gjc1000
are you talking plain old everyday files or something special. Regular files are stored in /home

Re: Where do I put my files on the server?

Posted: Tue Mar 16, 2010 2:34 am
by moredruid
can you identify which user it is? that should give you a clue.
grep 500 /etc/passwd
you can also give the group a little more privileges:
chmod g+rwx /yourdir

Re: Where do I put my files on the server?

Posted: Tue Mar 16, 2010 6:31 am
by cahamahi
Thanks for the tips... I'm not near the server, right now, but I'll experiment with both your suggestions later.

I suspect that part of my problem is that I have never fully grasped Linux's file structure and file privileges system. Even on Ubuntu -- my main OS these days -- I still get lost all the time.

It's not that I mind-melded with Windows. I've used many OSs, long before Windows or even DOS. But, for some reason. the Linux file system is highly counter-intuitive for me: the directories are so cryptic and I never know why most things are where they are.

Re: Where do I put my files on the server?

Posted: Tue Mar 16, 2010 8:23 am
by moredruid
an old but still valid (and easy!) read about the filesystem structure in linux: http://www.freeos.com/articles/3102/