Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-17-2006, 07:20 PM
|
#1
|
LQ Newbie
Registered: Mar 2006
Posts: 4
Rep:
|
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
|
|
|
03-17-2006, 08:04 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Permissions are what control access to files. Moving ls will not affect what a user can see.
|
|
|
03-17-2006, 08:09 PM
|
#3
|
LQ Newbie
Registered: Mar 2006
Posts: 4
Original Poster
Rep:
|
so haw can a user view files in my folder wihout changing folder permissions.
|
|
|
03-17-2006, 08:16 PM
|
#4
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
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?
|
|
|
03-17-2006, 08:26 PM
|
#5
|
LQ Newbie
Registered: Mar 2006
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
03-18-2006, 11:40 PM
|
#6
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Pity about the assignment. Homework questions AREN'T allowed here,
please read the rules you agreed to again.
Cheers,
Tink
|
|
|
03-18-2006, 11:50 PM
|
#7
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
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.
|
|
|
03-19-2006, 08:05 PM
|
#8
|
LQ Newbie
Registered: Mar 2006
Posts: 4
Original Poster
Rep:
|
i dont want anybody to do my homework for me, i just need a hist in what direction i have to look.
|
|
|
All times are GMT -5. The time now is 11:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|