Permissions to folders

subrahmanyam.darbha

New Member
Joined
Sep 14, 2022
Messages
1
Reaction score
0
Credits
15
Scenario:
I have ubuntu machine where folders are mounted under fileshare, file share having 4 folders
cd /mnt/myfileshare - having 4 folders (log1,log2,log3,log4)

I have 2 users u1 and u2

when i login with u1 - i need to access all folders (log1,log2,log3,log4)
when i login with u2 - I should not access to (log4) but should access (log1,log2,log3)

I tried with chmod but after fileshare mount we can't change the permissions (command is executing but changes are not reflecting)
before mount i applied permissions but after mount those permissions are overritten

How to achieve above requirement any idea much appreciated
 


Homework?
 

Members online


Latest posts

Top