Debian Buster - Permission bug?

Help with issues regarding installation of Debian

Debian Buster - Permission bug?

Postby eoflores » 2019-07-31 03:31

Guys,

I've been searching around the forum and haven't been able to find a similar topic.

However, I wanted to point out - Has anyone notice that a guest account can see other users content?

Or is this an isolated issues related to my install?

Check your desktop install and please let me know that we do not have a permission bug.

- I'm running latest Debian Buster, KDE desktop - AMD64 8GB RAM, SSD 250GB.
eoflores
 
Posts: 2
Joined: 2019-07-21 15:06
Location: Colorado Springs, Colorado

Re: Debian Buster - Permission bug?

Postby ruwolf » 2019-07-31 04:00

It depends on your setting.
You can change access of other users to your files/directories by command chmod.
Default permissions (for newly created files) are set in shells' profiles by command umask.
wiki.debian.org: Permissions
User avatar
ruwolf
 
Posts: 365
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: Debian Buster - Permission bug?

Postby eoflores » 2019-07-31 09:29

Hi,

Thanks for the reply. I'll be checking overall permissions and logs later today. I may have used chmod and forgotten about it.
eoflores
 
Posts: 2
Joined: 2019-07-21 15:06
Location: Colorado Springs, Colorado

Re: Debian Buster - Permission bug?

Postby sickpig » 2019-07-31 10:27

no
the default umask allows other users access
u need to change that in etc profle or individual user's profile files.
haven = Sir P.G. Wodehouse's books. U havent lived unless u have read one :)
User avatar
sickpig
 
Posts: 314
Joined: 2019-01-23 10:34

Re: Debian Buster - Permission bug?

Postby cuckooflew » 2019-07-31 12:26

There is no bug, and any user can also set their own permissons to not allow others to read or see files or directories, if they wish.
My grand father knows all about everything:
…one flew east, one flew west,
One flew over the cuckoo’s nest.
cuckooflew
 
Posts: 42
Joined: 2018-05-10 19:34
Location: Some where out west

Re: Debian Buster - Permission bug?

Postby L_V » 2019-07-31 12:56

Code: Select all
ls -l /home/
shows that by default, user X home is readable by all users.

Code: Select all
grep user /etc/group |sed 's/^.*://'
will give the user list of group "users".
If you want to restrict access of all users to themselves only, try this:
Code: Select all
# chown -R userX:userX /home/userX
(command as root user)
or more globally if many users:
Code: Select all
# for X in `grep user /etc/group |sed 's/^.*://; s/,/ /g'` ;do echo $X ;chown -R $X:$X /home/$X ;done

Default adduser configuration is stored at /etc/adduser.conf
# If SETGID_HOME is "yes" home directories for users with their own group the setgid bit will be set.
This was the default for versions << 3.13 of adduser.
Because it has some bad side effects we no longer do this per default.
If you want it nevertheless you can still set it here.
SETGID_HOME=no
L_V
 
Posts: 1036
Joined: 2007-03-19 09:04


Return to Installation

Who is online

Users browsing this forum: eveil and 14 guests

fashionable