Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-06-2008, 04:14 AM   #1
LQ Newbie
Registered: Apr 2007
Posts: 22

Rep: Reputation: 15
Permissions: want to make a file accessible to all users

I have a file /home/kalle/script that I want to make accessible to user "peter" (and all other users)
The /home/kalle/script has group kalle and user kalle. I have chmod:ed it a+rwx, but user peter gets:

cat /home/kalle/script: Permission denied

What have I missed?
Old 03-06-2008, 05:50 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
The permissions on your home directory don't allow other users to enter it. This is what you want. You need to move or copy the file to a publicly readable directory. The /tmp directory can be used for temporary file exchange like this. You could create one yourself (as root). If you run samba, and users sharing directories is allowed you could share it that way. You system may setup a directory "public_html" in home for this.
Old 03-06-2008, 06:43 AM   #3
LQ Newbie
Registered: Apr 2007
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks, that solved my problem


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
Is it possible to make cvs accessible for domain users? hypoui Linux - Software 1 01-05-2007 12:23 PM
Assigning permissions for a file to be accessed by particular users praveen kumar Linux - Networking 3 05-18-2006 11:20 AM
touch file in every users home, then change permissions paul_mat Linux - Networking 1 05-01-2006 07:06 PM
How to make a file inherit script permissions antony.booth Linux - Security 4 03-11-2005 06:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:21 PM.

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