You are here: Foswiki>Informatik/Helpdesk Web>Zugriffsrechte (03 Mar 2020, AnnaJobGa57ciz)Edit Attach

Modify access rights on own files / home directory

1. General

Every student has a folder, which can be accessed via /u/halle/$USER .

$USER is the RBG-Login, which was received from the Infopoint and is used to login into the computer hall.

In this folder you can find different architectures like home_at for the Ubuntu VMs for the lxhalle.

In order to facilitate the collaboration of students, most of those folders can be accessed by other students.

Important folders like the home_mail and home_sec are only visible and writeable by the active user.

These notes are explicitly valid only for the lxhalle.

2. Restrict access on own folders (Homepage will not be accessible)

More infomation about your own website:

Start the terminal in the lxhalle

chmod go-rwx `dirname $HOME` 

After using the following command

ls -ld `dirname $HOME`

the access rights should look like this:

drwx------ 10      tumuser   10 2011-07-05 16:46 

3. Restrict access on all own folders except home_at

In order to make the homepage accessible, the folders /u/halle/$USER and /u/halle/$USER/home_page need the Execute-permission (x) for other (o).
This can be achieved as follows:

Start the terminal in the lxhalle

chmod go-rwx,o+x `dirname $HOME`
chmod go-rwx,o+x `dirname $HOME`/home_page

After using the following commands

ls -ld `dirname $HOME`
ls -ld `dirname $HOME`/home_page

the access rights should look like this:

drwx-----x 7 tumuser 7 2011-06-03 15:23 /u/halle/
drwx-----x 3 tumuser 6 2011-06-03 14:32 /u/halle//home_page
Topic revision: r14 - 03 Mar 2020, AnnaJobGa57ciz
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback