[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#948944: general: File Premissions broken, Group write access denied



Package: general
Severity: normal

Dear Maintainer,

Looks like something is broken with the file premissions.. Quick test to replicate the problem
Install Debian
Create 2 users
Create a folder /test
add user1 to user2's group
usermod -a -G user2 user1
make the Test folder writeable by that group
as root chown user2:user2 /test
 chmod 2775 /test

As user1 try to write in /test

user1:/test$ mkdir test2

you'll get a premission denied error, for a reason i can't figure out. I've tried many different
commands and goolged incase the useradd commands changed ( never know with linux any more )
I haven't used debian since version 8, i've been using Cent. But this should be a standard....


-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Reply to: