LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 03-17-2006, 07:20 PM   #1
taze
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Rep: Reputation: 0
folder access folder


hello,

how can i give an access to another user to see files in my personal folder without changing permissions. Can anybody help me wiht this problem.

I know i have to do something like this: cp /bin/ls $HOME/ls but i'm not sure how does it works.

thanks for any help
 
Old 03-17-2006, 08:04 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Permissions are what control access to files. Moving ls will not affect what a user can see.
 
Old 03-17-2006, 08:09 PM   #3
taze
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Original Poster
Rep: Reputation: 0
so haw can a user view files in my folder wihout changing folder permissions.
 
Old 03-17-2006, 08:16 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
If your system does not use ACLs (Access Control Lists), you cannot. Additionally, even with ACLs, I would consider those 'permissions'. Why do you not want to change folder permissions?
 
Old 03-17-2006, 08:26 PM   #5
taze
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Original Poster
Rep: Reputation: 0
its an assignment that i have to do. I have to create a folder in my account only accessible to me change its group and then without changing permissions find a way to let other user to viwe files in it. The hint that he gave us is that it hase to start with cp /bin/ls $HOME/ls.
 
Old 03-18-2006, 11:40 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Pity about the assignment. Homework questions AREN'T allowed here,
please read the rules you agreed to again.


Cheers,
Tink
 
Old 03-18-2006, 11:50 PM   #7
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Wow, this is convoluted. I'm unfortunately bound by the rules Tinkster mentioned, but apparently, there is a way that I would never heave thought of. Is it specific to not changing the permissions of the folder? My curiousities are piqued, sadly.
 
Old 03-19-2006, 08:05 PM   #8
taze
LQ Newbie
 
Registered: Mar 2006
Posts: 4

Original Poster
Rep: Reputation: 0
i dont want anybody to do my homework for me, i just need a hist in what direction i have to look.
 
  


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
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM
gnome home folder and trash folder ambelos Linux - Software 2 02-24-2004 06:44 AM
Can't access Applications folder cordedpoodle Linux - Newbie 3 10-04-2003 11:51 AM


All times are GMT -5. The time now is 05:45 AM.

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