• We did not send an email asking for donations - please read this post.

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
 


forester

Active Member
Joined
Mar 5, 2022
Messages
443
Reaction score
244
Credits
3,153
Homework?
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Latest posts

Top