11-16-2009
What's wrong with using "ls -V" for that task ?
8 More Discussions You Might Find Interesting
1. Solaris
I'm typing on a nice Sunblade 100 that is willing to be a lab rat for my experiments.
I installed Solaris 10 and want to mess with ZFS.
Does anyone have any docs on how to install zfs or how to convert my current UFS filesystems to ZFS?
Does anyone have any experiences good or bad with ZFS... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
2. Filesystems, Disks and Memory
Hi All,
Is there any way to use mv command and
that should apply ACL on the moved files that is already set in distination location
This mv command is running in a solaris system. File system is NFS.
Problem I am facing : Currently mv command removes ACL from moved files
and also it... (0 Replies)
Discussion started by: Tlogine
0 Replies
3. Solaris
I've been wondering about this one, is there any way to do the following with ZFS ACL's (i.e. "copy" the ACL over to another file)?
getfacl /bla/dir1 | setfacl -f - /bla/dir2
I know about inheritence on dirs, it doesn't work in this scenario I'm working on. Just looking to copy the ACL's.
... (3 Replies)
Discussion started by: vimes
3 Replies
4. Shell Programming and Scripting
This may be a question for a different forum, but as I will need a script I thought I would start here.
We recently migrated from Solaris 8 to Solaris 10. The file system in question here is ZFS, meaning the method for listing and applying ACL's has changed dramatically. To make a long story... (3 Replies)
Discussion started by: Shoeless_Mike
3 Replies
5. Solaris
Hi,
I am running into a some problems creating a dual boot system of 2 solaris instances using ZFS file system and I was wondering if someone can help me out.
First some back ground. I have been asked to change the file system of our server from UFS to ZFS. Currently we are using Solaris... (3 Replies)
Discussion started by: estammis
3 Replies
6. Solaris
I have share with samba
a directory called /var/pubblica
i set write permission correctly on smb.conf and
zfs acl
\chmod A+group:"domain... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
7. Solaris
we have two Solaris 10 servers with same configuration and settings. We have hard mounted the NFS with the version 4.
In one of the server the newer ACL commands are working fine (chmod and ls -v) whereas in another only posix (getfacl and setfacl alone is working) when we try ls -V in in that... (13 Replies)
Discussion started by: sathishbabu89
13 Replies
8. Solaris
I want to set ACL permissions using this command in solaris 10 , but I get an error message.
server# mkdir dir1
server# setfacl -m user:allan:rwx dir1
setacl error: Operation not applicable
Any one can help in this matter.
Please use CODE tags as required by forum rules! (2 Replies)
Discussion started by: AbuAliiiiiiiiii
2 Replies
LEARN ABOUT FREEBSD
getfacl
GETFACL(1) BSD General Commands Manual GETFACL(1)
NAME
getfacl -- get ACL information
SYNOPSIS
getfacl [-dhinqv] [file ...]
DESCRIPTION
The getfacl utility writes discretionary access control information associated with the specified file(s) to standard output. If the
getconf(1) utility indicates that {_POSIX_ACL_EXTENDED} is not in effect for a file then the standard discretionary access permissions are
interpreted as an ACL containing only the required ACL entries.
The following option is available:
-d The operation applies to the default ACL of a directory instead of the access ACL. An error is generated if a default ACL cannot be
associated with file. This option is not valid for NFSv4 ACLs.
-h If the target of the operation is a symbolic link, return the ACL from the symbolic link itself rather than following the link.
-i For NFSv4 ACLs, append numerical ID at the end of each entry containing user or group name. Ignored for POSIX.1e ACLs.
-n Display user and group IDs numerically rather than converting to a user or group name. Ignored for POSIX.1e ACLs.
-q Do not write commented information about file name and ownership. This is useful when dealing with filenames with unprintable char-
acters.
-v For NFSv4 ACLs, display access mask and flags in a verbose form. Ignored for POSIX.1e ACLs.
The following operand is available:
file A pathname of a file whose ACL shall be retrieved. If file is not specified, or a file is specified as -, then getfacl reads a list
of pathnames, each terminated by one newline character, from the standard input.
For an explanation of the ACL syntax, see the setfacl(1) manual page.
EXIT STATUS
The getfacl utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
getfacl /
Retrieve ACL for the directory /.
getfacl -d /
Retrieve the default ACL for the directory /, if any.
SEE ALSO
setfacl(1), acl(3), getextattr(8), setextattr(8), acl(9), extattr(9)
STANDARDS
The getfacl utility is expected to be IEEE Std 1003.2c compliant.
HISTORY
Extended Attribute and Access Control List support was developed as part of the TrustedBSD Project and introduced in FreeBSD 5.0.
AUTHORS
Robert N M Watson
BSD
September 4, 2009 BSD