Code Monkey home page Code Monkey logo

Comments (4)

rzbrk avatar rzbrk commented on July 30, 2024

Shall we set umask 077 in ~/.bashrc during installation?

from calliopeo_astropi.

rzbrk avatar rzbrk commented on July 30, 2024

To be discussed with Roland vom Biotesc to incorporate operational needs.

from calliopeo_astropi.

rzbrk avatar rzbrk commented on July 30, 2024

On my AstroPI-IR the files in the home directory of the newly created user calliope have the permission 700:

calliope@astropiir:~ $ ls -al
total 36
drwx------ 5 calliope calliope 4096 Aug 18 15:21 .
drwxr-xr-x 4 root     root     4096 Aug 18 15:19 ..
-rw-r--r-- 1 calliope calliope  220 Apr 18  2019 .bash_logout
-rw-r--r-- 1 calliope calliope 3523 Jan 11  2021 .bashrc
drwx------ 7 calliope calliope 4096 Aug 18 15:19 calliopEO
drwx------ 4 calliope calliope 4096 Aug 18 15:19 .local
drwx------ 3 calliope calliope 4096 Aug 18 15:19 mnt
-rw-r--r-- 1 calliope calliope  807 Apr 18  2019 .profile
-rw------- 1 calliope calliope    0 Aug 18 15:20 test.txt
-rw------- 1 calliope calliope  699 Aug 18 15:21 .viminfo
calliope@astropiir:~ $ ls -al calliopEO/
total 104
drwx------ 7 calliope calliope  4096 Aug 18 15:19 .
drwx------ 5 calliope calliope  4096 Aug 18 15:21 ..
drwx------ 2 calliope calliope  4096 Aug 18 15:19 assets
-rwx------ 1 calliope calliope 16593 Aug 18 15:19 CalliopEO.py
-rw------- 1 calliope calliope  2398 Aug 18 15:19 CHANGELOG.md
drwx------ 8 calliope calliope  4096 Aug 18 15:19 .git
-rw------- 1 calliope calliope    38 Aug 18 15:19 .gitignore
-rw------- 1 calliope calliope  1065 Aug 18 15:19 LICENSE
drwx------ 2 calliope calliope  4096 Aug 18 15:19 modules
-rw------- 1 calliope calliope 14429 Aug 18 15:19 ProgramDescription.md
-rw------- 1 calliope calliope  9136 Aug 18 15:19 README.md
-rw------- 1 calliope calliope    72 Aug 18 15:19 requirements.txt
-rwx------ 1 calliope calliope  3346 Aug 18 15:19 setup.sh
drwx------ 4 calliope calliope  4096 Aug 18 15:19 testcases
-rw------- 1 calliope calliope   406 Aug 18 15:19 testing.conf
-rwx------ 1 calliope calliope  3411 Aug 18 15:19 testing.sh
drwx------ 2 calliope calliope  4096 Aug 18 15:19 testresults
calliope@astropiir:~ $

I even created a test file with touch test.txt (see above). Also this file has the right permissions.

We can check, if this feature will still be present in the final version of the OS of AstroPi-IR and then close the issue without any changes on our software.

from calliopeo_astropi.

rzbrk avatar rzbrk commented on July 30, 2024

I think we can close this issue after Domenico's email from 2021-08-19:

I tested today the setup file and I can confirm about new home directory permissions, there is no need to change them.

from calliopeo_astropi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.