Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian Buster - Permission bug?

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
eoflores
Posts: 2
Joined: 2019-07-21 15:06
Location: Colorado Springs, Colorado

Debian Buster - Permission bug?

#1 Post by eoflores »

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.

User avatar
ruwolf
Posts: 623
Joined: 2008-02-18 05:04
Location: Banovce nad Bebravou
Has thanked: 35 times
Been thanked: 26 times

Re: Debian Buster - Permission bug?

#2 Post by ruwolf »

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

eoflores
Posts: 2
Joined: 2019-07-21 15:06
Location: Colorado Springs, Colorado

Re: Debian Buster - Permission bug?

#3 Post by eoflores »

Hi,

Thanks for the reply. I'll be checking overall permissions and logs later today. I may have used chmod and forgotten about it.

User avatar
sickpig
Posts: 589
Joined: 2019-01-23 10:34

Re: Debian Buster - Permission bug?

#4 Post by sickpig »

no
the default umask allows other users access
u need to change that in etc profle or individual user's profile files.

cuckooflew
Posts: 677
Joined: 2018-05-10 19:34
Location: Some where out west
Been thanked: 1 time

Re: Debian Buster - Permission bug?

#5 Post by cuckooflew »

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.
Please Read What we expect you have already Done
Search Engines know a lot, and
"If God had wanted computers to work all the time, He wouldn't have invented RESET buttons"
and
Just say NO to help vampires!

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Debian Buster - Permission bug?

#6 Post by L_V »

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

Post Reply