LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-18-2005, 11:28 PM   #1
javamdk
Member
 
Registered: Jul 2004
Location: Indiana
Distribution: Slackware 10.1, Debian
Posts: 64

Rep: Reputation: 15
Question Another permission question


Ok, I know these are probably annoying to answer... but here I go.

Below is my setup:

FTP Server w/ these users:
webuser (home = /var/www)
joer (home = /home/joer)

What' I'm trying to do, is have webuser have Read,Write, Execute permission. But I also want joer to have Read, Write and Execute permission.

I know I can simply do this:

Code:
sudo chown webuser -R /var/www
Which will give webuser ownership of the file, so it can manipulate those files. But takes away joer from having permission

Why I need joer to have write, read, execute permission? Because, there is a perl script I use under joer, and it needs access to /var/www

Also for more information:

joer belongs to group joer
webuser belongs to group joer (it used to be www-data, i just changed it thinking this would work... it didnt)

Hopefully this makes sense.

Thanks =)
 
Old 08-19-2005, 12:04 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quick and Dirty Guide to Linux File Permissions
 
Old 08-19-2005, 12:11 AM   #3
javamdk
Member
 
Registered: Jul 2004
Location: Indiana
Distribution: Slackware 10.1, Debian
Posts: 64

Original Poster
Rep: Reputation: 15
I don't wanna sound dumb, but I will anyway. Can you please elaborate without giving me a link to permissions. I could have just googled that.

But I don't really see how to have another user having RWX permissions. Maybe it's the night and I don't wanna think.

Hopefully some guidence besides a link would be more assistance. Unless your gonna give me a link with where to look...
 
Old 08-19-2005, 12:19 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Considering how quick you replied, I am assuming you didn't even read that guide.

Now, someone else may come along and spoon feed you, but not I. In fact, you should read:

LQ Rules
  • Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
and

How To Ask Questions The Smart Way

then

read the guide I posted, and try it on your own.

Post back what you did, and if you fixed it or still have a problem.

That will earn the respect of those who have the knowledge you
desire, and they'll be more apt to help you along.
 
Old 08-19-2005, 12:23 AM   #5
javamdk
Member
 
Registered: Jul 2004
Location: Indiana
Distribution: Slackware 10.1, Debian
Posts: 64

Original Poster
Rep: Reputation: 15
who said it's homework... school's not even in session you crazy nut.

Yeah, I skimmed through the site... what's wrong with that.

You're mighty fisty, hope your taking proper medication.

It's midnight, I'd figure I'd get a nice answer quick and easy... instead of researching it. Sorry if that's so-called cheating... but I'm not being graded on this. Goodness!

If I wanna use Unix as my primary system, maybe I'd invest more time into it.

Last edited by javamdk; 08-19-2005 at 12:26 AM.
 
Old 08-20-2005, 08:58 AM   #6
boxerboy
Member
 
Registered: Jul 2005
Distribution: ubuntu5.04, ubuntu5.10, suse9.3, mandrake10.1, mandriva2006(beta), FC1-4, redhat9.0, debian sarge
Posts: 519

Rep: Reputation: 32
most ppl on the forum wont help you if you dont help yourself and for good reason. as for calling someone that helps you a name or 2 isnt right and i can petty much garentee that fi someone reads ur last post they wont help you.
 
Old 08-20-2005, 09:09 AM   #7
javamdk
Member
 
Registered: Jul 2004
Location: Indiana
Distribution: Slackware 10.1, Debian
Posts: 64

Original Poster
Rep: Reputation: 15
I already solved my own problem...

I don't see what was wrong with my last post, it was in my defense. I believe I'm entitled to that.

Don't respond back.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Permission question satimis Linux - General 7 09-29-2005 01:53 AM
Question on permission satimis Linux From Scratch 5 09-28-2005 02:42 AM
a question about file permission tony yu Mandriva 5 04-13-2004 10:18 AM
FTP permission Question Supp0rtLinux Linux - Software 2 04-29-2003 07:03 PM
Permission question, (short) Stingreen Linux - General 5 03-14-2002 11:19 PM


All times are GMT -5. The time now is 09:51 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration