04-25-2017
Quote:
Originally Posted by
Corona688
Why are ACL's being used here? Is this a network filesystem or other such thing where it might be required?
For the moment it is on a simple linux multi-user box.
As said at post #1
Quote:
A group 'publicuser' has been created.
A user 'publicuser' has been created ( no login, no home) and belongs to group 'publicuser'.
A public folder '/doc' has been created and owner is publicuser
ublicuser.
- All users belonging to group 'publicuser' can create folder under'/doc'.
- All users belonging to group 'publicuser' can create folder in other user's folder as far as they reside under '/doc'. User's folder are just non private folders.
- All users belonging to group 'publicuser' can read, write, modify any type of files everywhere Independently of whom is the owner, as far as they reside under '/doc'.
- Only owner can delete objects.
- File cannot be executed.
You can 't do that with just chmod. You need ACL.
Everybody can do any action in the folder /doc ( or any sub-folders). But in that folder ( or sub-folders ) they may not delete any object they do not owned.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I generated a script that will create the list of dir/sub-dir and will allow to create the same on diff server. this is what i have done :
#!/bin/ksh
# Script to migrate the directory between the two servers.
# Ver 0.1
# Author Krishna. D
# c - create and e - extract directory
if ;... (1 Reply)
Discussion started by: krishnadvn
1 Replies
2. Shell Programming and Scripting
Hi all,
I have the following code to check the whether the folder is exist in my system.
if ; then echo 'folder exist'; else echo 'folder not exist'; mkdir /home/batch/testing ; fi
When I remove the "testing" folder from "/home/batch" directory, the code is working fine. But when I... (2 Replies)
Discussion started by: suigion
2 Replies
3. Filesystems, Disks and Memory
hello
i wanted to ask you
i try to setting:
pc server name: A
pc user name: B
pc user name: C
server A is opensuse 11.2 with kde 4.3.5 and last kernel
so i create NFS server, i think.. folder (/usr is all softwares and library) because
server A can share to PC A.
because all... (0 Replies)
Discussion started by: tunjin
0 Replies
4. Ubuntu
Hi All
Everytime a reboot my machine "hostB" I have to mount a shared (with machine "hostA" ) NFS folder giving this command
sudo mount hostA:/sharedFolder /sharedFolder
How to use fstab in order to do this automatically?
I should say
hostA:/sharedFolder /sharedFolder ... (0 Replies)
Discussion started by: manustone
0 Replies
5. UNIX for Advanced & Expert Users
Hi,
In our bank production environment - IBM AIX 5.3, we have a particular parent folder inside which an application creates temporary folders & files. These temp folders exist for the lifetime of the user session within the application and then get deleted automatically.
Since these temp... (1 Reply)
Discussion started by: deepaksinbox
1 Replies
6. Shell Programming and Scripting
Hello,
I want to list all shared folder in terminal in local.
I haven't found the command for, i'm on bash in mac os x.
Thanks (2 Replies)
Discussion started by: protocomm
2 Replies
7. Shell Programming and Scripting
Hello,
I am using unix through cygwin application in my office machine and here i encounter a problem which i want copy certain big files from a shared folder
shared folder--\\Parwvm000154\docs
to my local machine c:/
I'm really honor if i clarified with the command.
Regards... (1 Reply)
Discussion started by: thelakbe
1 Replies
8. UNIX for Dummies Questions & Answers
I'm trying to set up a folder in my home directory that will be shared with another user but for some reason it is not working this is what I've done, I have tried two different ways using ACL's and chown/chgrp etc
I set up a group called say: sharedgroup and added both my user (john) and fred... (3 Replies)
Discussion started by: 14952john
3 Replies
9. UNIX for Dummies Questions & Answers
Hello, I have a question regarding ACLs and their availability across different Unix platforms via NFS share.
If I have an AIX/FreeBSD/Solaris/HP-UX client that has an nfs share from a different system mounted on it, will the ACLs on the nfs share be processed properly?
My guess is that as... (2 Replies)
Discussion started by: bstring
2 Replies
10. Shell Programming and Scripting
(0 Replies)
Discussion started by: beca123456
0 Replies
NEW(1) [nmh-1.5] NEW(1)
NAME
new - report on folders with new messages
fnext - set current folder to next folder with new messages
fprev - set current folder to previous folder with new messages
unseen - scan new messages in all folders with new messages
SYNOPSIS
new [sequences] [-mode mode] [-folders foldersfile] [-version] [-help]
fnext is equivalent to new -mode fnext
fprev is equivalent to new -mode fprev
unseen is equivalent to new -mode unseen
DESCRIPTION
New in its default mode produces a one-line-per-folder listing of all folders containing messages in the listed sequences or in the
sequences listed in the profile entry "Unseen-Sequence". Each line contains the folder, the number of messages in the desired sequences,
and the message lists from the .mh_sequences file. For example:
foo 11.* 40-50
bar 380. 760-772 824-828
total 391.
The `*' on foo indicates that it is the current folder. The last line shows the total number of messages in the desired sequences.
New crawls the folder hierarchy recursively to find all folders, and prints them in lexicographic order. Override this behavior by provid-
ing foldersfile containing the pre-sorted list of folders new should check, one per line.
In fnext and fprev modes, new instead changes to the next or previous matching folder, respectively.
In unseen mode, new executes scan sequences for each matching folder.
FILES
$HOME/.mh_profile The user profile
PROFILE COMPONENTS
Path: To determine the user's nmh directory
Current-Folder: To find the default current folder
Unseen-Sequence: The name of the unseen message sequence
SEE ALSO
scan(1), mh-format(5)
HISTORY
Based on Luke Mewburn's new (http://www.mewburn.net/luke/src/new).
MH.6.8 11 June 2012 NEW(1)