F5F Stay Refreshed Software Operating Systems User permissions on Arch Linux setup

User permissions on Arch Linux setup

User permissions on Arch Linux setup

J
JBeast2014
Member
169
04-17-2016, 03:43 PM
#1
I configured a home NAS with Samba and inquired about setting individual user permissions for files. The NAS uses an ext4-formatted drive on Arch Linux.
J
JBeast2014
04-17-2016, 03:43 PM #1

I configured a home NAS with Samba and inquired about setting individual user permissions for files. The NAS uses an ext4-formatted drive on Arch Linux.

P
pedr0xHUE
Junior Member
18
04-19-2016, 06:15 AM
#2
Filesystem rights remain effective even with Samba. Granting access to two users on a Samba share may prevent the second user from reaching the actual files or folders if their permissions are insufficient.
P
pedr0xHUE
04-19-2016, 06:15 AM #2

Filesystem rights remain effective even with Samba. Granting access to two users on a Samba share may prevent the second user from reaching the actual files or folders if their permissions are insufficient.

A
Akrasia
Member
225
04-28-2016, 10:34 PM
#3
You can assign varying access rights to users.
A
Akrasia
04-28-2016, 10:34 PM #3

You can assign varying access rights to users.

S
SuperboyLama
Member
109
04-29-2016, 02:37 PM
#4
Use chown and chmod to manage permissions, and as before, you typically handle groups for distinct permission configurations. Assign a folder or file to a specific group, and anyone required to access it should belong to that group.
S
SuperboyLama
04-29-2016, 02:37 PM #4

Use chown and chmod to manage permissions, and as before, you typically handle groups for distinct permission configurations. Assign a folder or file to a specific group, and anyone required to access it should belong to that group.

B
barleby76
Member
145
04-30-2016, 10:45 PM
#5
Oh yeah. I forgot about setting the owner of a file...
B
barleby76
04-30-2016, 10:45 PM #5

Oh yeah. I forgot about setting the owner of a file...

L
LissieBear
Member
163
05-01-2016, 06:05 AM
#6
L
LissieBear
05-01-2016, 06:05 AM #6

D
Detective_L_
Junior Member
29
05-01-2016, 10:14 AM
#7
When a folder lacks execution rights for the owner, listing becomes impossible. However, hiding certain files within a directory that users can access is generally not allowed, and you also can't conceal the directory's presence at the parent directory level.
D
Detective_L_
05-01-2016, 10:14 AM #7

When a folder lacks execution rights for the owner, listing becomes impossible. However, hiding certain files within a directory that users can access is generally not allowed, and you also can't conceal the directory's presence at the parent directory level.

M
mcbudder2004
Senior Member
687
05-01-2016, 09:51 PM
#8
It seems the files weren't displayed in the directory listing when Truenas Dirs was used without the appropriate permissions.
M
mcbudder2004
05-01-2016, 09:51 PM #8

It seems the files weren't displayed in the directory listing when Truenas Dirs was used without the appropriate permissions.

S
spatolisky004
Junior Member
5
05-02-2016, 03:26 AM
#9
It’s probably possible to set up Samba at this setting, though it exceeds my current understanding—consult the documentation. It might be useful to use ACLs.
S
spatolisky004
05-02-2016, 03:26 AM #9

It’s probably possible to set up Samba at this setting, though it exceeds my current understanding—consult the documentation. It might be useful to use ACLs.