Koozali.org: home of the SME Server

Access to uer's ibays.

Offline Stuart

  • **
  • 37
  • +0/-0
Access to uer's ibays.
« on: July 23, 2008, 07:37:14 AM »
I have a question about browsing to the user's personal ibays.  I would like a particular user to be able to browse to ALL current and future user's ibays with full permissions.  Can this be done?

Thanks.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Access to uer's ibays.
« Reply #1 on: July 23, 2008, 09:44:38 AM »
I have a question about browsing to the user's personal ibays.  I would like a particular user to be able to browse to ALL current and future user's ibays with full permissions.  Can this be done?

Thanks.
How about the admin user?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Access to uer's ibays.
« Reply #2 on: July 23, 2008, 10:50:54 AM »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Stuart

  • **
  • 37
  • +0/-0
Re: Access to uer's ibays.
« Reply #3 on: July 24, 2008, 03:19:30 AM »
Thanks for responding guys.

Cactus, admin is not able to browse to users home folders over the network.  I tried on a fresh install.

Mary, I searched for ages in the forum and wiki and couldn't find what I was after, then just after I posted I found the exact info on the wiki page you mentioned on another site.

Anyways... it works!

Thanks

Offline Stuart

  • **
  • 37
  • +0/-0
Re: Access to uer's ibays.
« Reply #4 on: July 24, 2008, 03:34:09 AM »
Next problem...
If a "superuser" with access creates a folder/file in another user's home, the user (whose home folder it is) can't access it.

Can I get around this?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Access to uer's ibays.
« Reply #5 on: July 24, 2008, 03:57:05 AM »
Next problem...
If a "superuser" with access creates a folder/file in another user's home, the user (whose home folder it is) can't access it.

Can I get around this?

No, just don't do that.

Offline Stuart

  • **
  • 37
  • +0/-0
Re: Access to uer's ibays.
« Reply #6 on: July 25, 2008, 07:43:18 AM »
CharlieBrady,

Can I ask why I shouldn't do that?

I ask because I changed the template fragment to allow it, and I now can.  I'm not being difficult, just your abrupt answer makes me worry that I'll get into trouble.

Stuart

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Access to uer's ibays.
« Reply #7 on: July 25, 2008, 06:14:17 PM »
I can't tell how familiar you are with Linux file ownership and permissions. (disregard this post if it is too elementry.)
Quote
Can I ask why I shouldn't do that?

Browsing the directory should not be a problem, Changing or adding files should not be done.


Let's say we have a user name Joe and a super user named Bill.

Joe's home folder's files have ownership of joe:joe (this means Joe is set as the user owner and the group owner)

Bill browses to Joe's home folder and wants to give him a copy of the latest song that he just downloaded. Bill creates a file in Joe's folder. The new file has ownership of bill:bill. Unless Joe has rights to Bill's files (which he should never have) Joe will not be able to see the file.

In an Ibay we use the group ownership of the file. Lets say we have an Ibay named Shared tied to a group called music with permissions of group=read, group=write. Bill and Joe are both members of the group:music if Bill drops his downloaded song here it will look like this bill:music, because Joe is also a member of the music group he can read and write the file.
« Last Edit: July 25, 2008, 06:39:33 PM by mercyh »