LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2005, 02:21 PM   #1
bmorel
LQ Newbie
 
Registered: Mar 2005
Location: Paris, France
Distribution: RHEL 3
Posts: 17

Rep: Reputation: 0
Unhappy Permissions problem


Hello all,

I'm running RHEL3.
Here is my problem:

- I have 2 users, say user1 and user2, with home dirs /home/user1 and /home/user2
- I create (as user1) a file /home/user1/.htaccess with owner user1 and group user1, and chmod'ed 777.
- I log in as user2.
- I try to "cat /home/user1/.htaccess"

And I got a "Permission denied".

Where is the problem ?

Thanks in advance for your answers

Ben
 
Old 05-20-2005, 02:37 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
ls -l /path/to/file
to check if chmod worked.See what it says, it normally shouldnt give u permission denied with 777 permissions.
 
Old 05-20-2005, 02:42 PM   #3
bmorel
LQ Newbie
 
Registered: Mar 2005
Location: Paris, France
Distribution: RHEL 3
Posts: 17

Original Poster
Rep: Reputation: 0
That's why I don't understand, here is the output :
-rwxrwxrwx 1 user1 user1 0 mai 20 20:38 .htaccess
 
Old 05-20-2005, 03:07 PM   #4
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
but users dont have access to each others home directorys as it should be. make a directory somewhere else that both users can access.
 
Old 05-20-2005, 04:01 PM   #5
bmorel
LQ Newbie
 
Registered: Mar 2005
Location: Paris, France
Distribution: RHEL 3
Posts: 17

Original Poster
Rep: Reputation: 0
Hmm ok I did not know this !
Thanks a lot.
 
  


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
Need help with a permissions problem bobbryce Fedora 3 02-08-2005 09:09 AM
Permissions Problem! codino Linux - Newbie 1 03-13-2004 07:12 PM
Possible permissions problem everythingand2 Linux - Software 1 01-18-2004 12:06 PM
Sendmail problem: sm-client permissions problem d3funct Linux - Software 0 08-12-2003 05:00 PM
Permissions problem TheShemeta Linux - Newbie 10 06-12-2003 07:50 PM


All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration