LSSTDESC / desc-help

DESC Computing Requests
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

utility to make home dir readable to DESC collaborators #86

Closed RickKessler closed 1 week ago

RickKessler commented 2 years ago

Description A clear and concise description of what the issue is.

need a script-utility to make our home directory readable to all LSST-DESC members. Default permissions don't allow read, which has caused many problems. Could be a stand-alone script, or an option on existing script, e.g. source /global/cfs/cdirs/lsst/groups/TD/setup_td.sh --home_readable where a new user would include the home_readable argument only one time.

Choose all applicable topics by placing an 'X' between the [ ]:

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem.

heather999 commented 2 years ago

@RickKessler that should be possible. One tweak I might suggest, if we have people who are working on projects outside DESC or are just privacy minded- some may prefer to create a dedicated $$HOME/desc subdirectory that is readable by all DESC members rather than opening up their entire $HOME. Would that be ok as a default?

RickKessler commented 2 years ago

Unprotecting $HOME/desc seems reasonable. What happens if there is no /desc dir ... is it automatically created?

heather999 commented 2 years ago

yes exactly - if $HOME/desc doesn't exist, it should be created by the script.

RickKessler commented 2 years ago

ok, creating $HOME/desc sounds reasonable. People will sometimes rsync files to $HOME, then move it to $HOME/desc, so the original $HOME protections will be kept.

cwwalter commented 2 years ago

Just a suggestion. I think it is fine to have $HOME/desc as a default if you want but I for example would use like to open up $HOME.

So, I would appreciate a way to choose that. I had a hard time when I tried to use the ACL system to do this before. Maybe a choice in the script

1) $HOME 2) $HOME/desc 3) another path

?

RickKessler commented 2 years ago

how about two different options: --home_readable --home_desc_readable

I would urge limiting the option to home and home/desc so that everybody knows where to look. If we all pick arbitrary path name under home, it just adds confusion to collaborators.

RickKessler commented 2 years ago

Any progress on this issue?

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been 90 days since last activity. If no further activities take place, this issue will be closed in 14 days.
Add label keep to keep this issue.