Sponsored Content
Top Forums UNIX for Dummies Questions & Answers ls -l shows a @ after permissions, why? Post 302373756 by tlarkin on Sunday 22nd of November 2009 12:21:41 AM
Old 11-22-2009
I believe it just means the file has extended attributes. Then + sign should mean extra sets of permissions like an ACL is applied to the file.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ls shows directories only? how

1) how to show directories in ls command? i went to man ls, and saw this -d flag but doesnt help.. 2) say we put this alias ls='ls -F' in .profile.. how do we let inform .profile that there is a new entry besides restarting the system. thanks. my shell is KSH. (4 Replies)
Discussion started by: yls177
4 Replies

2. Solaris

Monitor shows out of frequency

:confused: :( I had a Intel P4 2.6 HT pc with 256DDRAM. I installed solaris 10 with most of the default configuration by the system...now when i boot the system with solaris 10, after the boot screen is past and desktop login screen is about to appears the monitor goes down and displays "OUT OF... (0 Replies)
Discussion started by: sunilpatwal
0 Replies

3. AIX

w shows phantom user

Hi When i use "w" command, It list some users with "-" command. That means these use already logout,but still in the system somewhere, no process but list under the "w" and "who" command.How can i get rid of these user. Can anybody help me out.thanks a lot xiko (2 Replies)
Discussion started by: xiko
2 Replies

4. UNIX for Advanced & Expert Users

du -k shows different size in two nodes

After rcp -rp from remote host, using du -k to verify the file size but total file size have different size. Check on individual file, file size is correct. How can I confirm on the file size after ftp? Pls advise. Thank you. (15 Replies)
Discussion started by: KhawHL
15 Replies

5. HP-UX

To give the "unzip" permissions & "create" file permissions

Hi, I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory. Thanks in advance. Mike (3 Replies)
Discussion started by: Mike1234
3 Replies

6. UNIX for Dummies Questions & Answers

multiplication shows syntax error

my shell script is simple arithmetic process.my addtion,substract and divide all can be worked only except multiplication.please help me.the shell is following: #!/usr/bin/sh echo "enter a number1:" read number1 echo "enter an operator:" read operator echo "enter a number2:" read number2... (4 Replies)
Discussion started by: sonicstage
4 Replies

7. UNIX for Dummies Questions & Answers

Diff shows only the same content

Hi All, Sorry this might be real dummy question. I have been searching from internet and diff manual, but not found any answer . By using diff command, how do we display the same content only (from both 2 files in 2 coloumns). Here is the diff -y output http://i39.tinypic.com/fa8snr.jpg ... (2 Replies)
Discussion started by: wilsonSurya
2 Replies

8. UNIX for Dummies Questions & Answers

File shows in ls but cannot be accessed

I can do an ls -l CD* and see the following CDTEST userA RW RW R and I an logged on as userA. But if I do an ls -l the file does not appear. If I do a vi CDTEST it tries to create a new file named CDTEST. If I do a mv or rm I get the message no file of name CDTEST found. Any idea what is going on.... (3 Replies)
Discussion started by: LeeT
3 Replies

9. UNIX for Dummies Questions & Answers

Ls command shows : NOT A DIRECTORY

I am working on ksh shell. In some folders if i write ls *MYFILE* > NEWFILE then it shows error on few files as <filename>/:NOT A DIRECTORY i have around 9 thousand files in this folder and out of them around 61 are showing error. However, when i created softlink of that directory and... (3 Replies)
Discussion started by: JYOTIHA
3 Replies

10. SuSE

Suse 10 shows only 1 cpu

Hi im using vmware esxi 5.1 and my guest is suse 10SP3 64bit at start it was configured with only 1 cpu. i added 1 more cpu. when i run this command: lscpu, it shows only 1 cpu installed how can i fix that? thanks! (4 Replies)
Discussion started by: guy3145
4 Replies
acl_set_file(3) 					     Library Functions Manual						   acl_set_file(3)

NAME
acl_set_file - Sets the ACL on the file or directory designated by the path name LIBRARY
Security Library (libpacl.a) SYNOPSIS
#include <sys/acl.h> int acl_set_file( char *path_p; acl_type_t type_d; acl_t acl_d); PARAMETERS
The pathname of the file or directory to set the ACL on. Designates the type of ACL to set: ACL_TYPE_ACCESS, ACL_TYPE_DEFAULT, or ACL_TYPE_DEFAULT_DIR. Working storage internal representation of the ACL that is being set. DESCRIPTION
NOTE: This function is based on Draft 13 of the POSIX P1003.6 standard. Given a path name to a file or directory, the acl_set_file() function sets the designated ACL. The type of ACL being set is determined by the type_d parameter. If acl_d is NULL, then the designated ACL is removed from the designated file or directory. The entry pointer used by the acl_get_entry() function becomes undefined after a call to the acl_set_file() function. RETURN VALUES
Upon successful completion, the acl_set_file() function returns a value of 0 (zero). Otherwise, a value of -1 is returned and errno is set to indicate the error. ERRORS
If any of the following conditions occur, the acl_set_file() function sets errno to the corresponding value: The required access to the file was denied. The named file or directory does not exist. The argument acl_d does not contain a valid ACL. Argument type_d does not contain a valid ACL type. The pathname is longer than allowed. The directory or file system that would contain the new ACL cannot be extended or the file system is out of file allocation resources. The argument type_d indicates a default ACL, and path_p does not point to a directory. The designated file or directory resides on a file system that does not support ACLs The process does not have the appropriate permissions to perform the operation. The setting and changing of ACLs have been disabled by the system administrator. The designated file or directory resides on a read-only file system. RELATED INFORMATION
acl_get_fd(3),acl_valid(3), acl_set_fd(3), acl_get_file(3) Security delim off acl_set_file(3)
All times are GMT -4. The time now is 11:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy