Thread: File permissions... im sure i'm missing something obvious
so have computer 3 users on it, , folder using samba on network has access to. lets that, folder stored in /etc/sharedfolder.
happens is, when user1 puts folder in it, logs off, user 2 attempts modify , fails, because permission set 755, , not in same group. (even if were, should still need 775)
anyway, current solution is, every 5 minutes crontab changes permission so:
chmod 777 -r /etc/sharedfiles && chown useradmin:superadmin -r /etc/sharedfiles
works, seeing there getting close gig in there, bad solution, eats computers resources.
solutions think might work:
1) create script changes permissions need changed.
2) change file permission settings force documents inherit parent document settings
basic problem is, don't know how either of these...
what r trying risky , complicated. why? can add users need in specific group (create new group). , make folder change group ownership new group . apply permission 775 folder recursively , set,
note: want users see each others files/folder? john sees clair's file , vice-versa?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] File permissions... im sure i'm missing something obvious
Ubuntu
Comments
Post a Comment