Where do I put my files on the server?

cahamahi
Posts: 11
Joined: Mon Mar 15, 2010 1:35 pm

Where do I put my files on the server?

Postby cahamahi » Mon Mar 15, 2010 1:43 pm

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. )

gjc1000
Pro User
Pro User
Posts: 133
Joined: Sat Jan 03, 2009 8:30 am

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

Postby gjc1000 » Mon Mar 15, 2010 7:41 pm

are you talking plain old everyday files or something special. Regular files are stored in /home
gjc1000
Chi pecora si fa, il lupo se la mangia.

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

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

Postby moredruid » Tue Mar 16, 2010 2:34 am

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
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

cahamahi
Posts: 11
Joined: Mon Mar 15, 2010 1:35 pm

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

Postby cahamahi » Tue Mar 16, 2010 6:31 am

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.

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

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

Postby moredruid » Tue Mar 16, 2010 8:23 am

an old but still valid (and easy!) read about the filesystem structure in linux: http://www.freeos.com/articles/3102/
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

Who is online

Users browsing this forum: No registered users and 11 guests