Sponsored Content
Top Forums UNIX for Dummies Questions & Answers What does @ means for permissions? Post 302743929 by fcarrero on Thursday 13th of December 2012 02:50:04 PM
Old 12-13-2012
What does @ means for permissions?

Guys,

My question is regarding to file permission on Mac OS X 10.7.
I wrote an script which should pick XML files from a folder. But when we copy the files to that particular folder, the script skip the files I guess because of permission, If we open the files and save it them the script works.

Initially the files has this set of permission:
-rw-r--r--+ 1 admin todos 585 (in this case the script does not works)

after open and save the file.

-rw-r--r--@ admin todos 582

I know that + means that the file permission is a ACL involve.

But I do not know what the @ means at the end after the file is save and what change in the file permission

thanks in advance
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

What does ##* means

Hi In one of the thread I have found echo ${SHELL##*/} Can any of u pls let me know, what is the interpretation for ##* over here? Thanks. (2 Replies)
Discussion started by: yeheyaansari
2 Replies

2. UNIX for Dummies Questions & Answers

what it means?

I have a command called cd $HDRROOT/release/tools/cfg My query is what it means? tHat is.... $HDRROOT part is not clear. If I put this command it says path not found.... I doubt that $HDRROOT is trying to mean smething I am not clear of. PL help......... (4 Replies)
Discussion started by: rraajjiibb
4 Replies

3. UNIX for Dummies Questions & Answers

Can anyone tell me what this means..???

I found a file in my base folder width the name replace.sh and width the text string. sed -i "s/$1/$2/g" `grep -ir $1 ./*|grep -v '.svn'|cut -d: -f1` Wat does it mean and what does it do? (1 Reply)
Discussion started by: samarn
1 Replies

4. Shell Programming and Scripting

$$ means?

hey, what's $$varname in a script? I used to see $varname only. search on google didn't help. thanks. (4 Replies)
Discussion started by: patiobarbecue
4 Replies

5. UNIX for Dummies Questions & Answers

Can you tell me what this means?

Can you please tell me what this means? use grep to find from the file myfile.txt all lines containing the sequence tt but not more 2 ts? I have no idea. (2 Replies)
Discussion started by: rushhour
2 Replies

6. UNIX for Dummies Questions & Answers

What means %U

I can not find out what the %U means in the following command: ooffice -calc %U (2 Replies)
Discussion started by: borobudur
2 Replies

7. Shell Programming and Scripting

!! what is this means

I have a script like select * from table !! what those exclamation marks mean (4 Replies)
Discussion started by: vasuarjula
4 Replies

8. Shell Programming and Scripting

$? and $# means

what exactly $? and $# means ? (1 Reply)
Discussion started by: mail2sant
1 Replies

9. UNIX for Beginners Questions & Answers

What is $(NF) means?

HI what does the $(NF) means. here i want to understand the working. what i know is that in awk NF argument will tell number of column in a file i have below file alpha a beta b if i use command cat kv | paste - - | awk '{print $1," "$2 "------>"$(NF)}' i get the o/p as alpha ... (3 Replies)
Discussion started by: scriptor
3 Replies
acltomode(3SEC) 				       File Access Control Library Functions					   acltomode(3SEC)

NAME
acltomode, aclfrommode - convert an ACL to or from permission bits SYNOPSIS
cc [ flag... ] file... -lsec [ library... ] #include <sys/types.h> #include <sys/acl.h> int acltomode(aclent_t *aclbufp, int nentries, mode_t *modep); int aclfrommode(aclent_t *aclbufp, int nentries, mode_t *modep); DESCRIPTION
The acltomode() function converts an ACL pointed to by aclbufp into the permission bits buffer pointed to by modep. If the USER_OBJ ACL entry, GROUP_OBJ ACL entry, or the OTHER_OBJ ACL entry cannot be found in the ACL buffer, then the function fails with errno set to EIN- VAL. The USER_OBJ ACL entry permission bits are copied to the file owner class bits in the permission bits buffer. The OTHER_OBJ ACL entry per- mission bits are copied to the file other class bits in the permission bits buffer. If there is a CLASS_OBJ (ACL mask) entry, the CLASS_OBJ ACL entry permission bits are copied to the file group class bits in the permission bits buffer. Otherwise, the GROUP_OBJ ACL entry permission bits are copied to the file group class bits in the permission bits buffer. The aclfrommode() function converts the permission bits pointed to by modep into an ACL pointed to by aclbufp. If the USER_OBJ ACL entry, GROUP_OBJ ACL entry, or the OTHER_OBJ ACL entry cannot be found in the ACL buffer, the function fails with errno set to EINVAL. The file owner class bits from the permission bits buffer are copied to the USER_OBJ ACL entry. The file other class bits from the permis- sion bits buffer are copied to the OTHER_OBJ ACL entry. If there is a CLASS_OBJ (ACL mask) entry, the file group class bits from the per- mission bits buffer are copied to the CLASS_OBJ ACL entry, and the GROUP_OBJ ACL entry is not modified. Otherwise, the file group class bits from the permission bits buffer are copied to the GROUP_OBJ ACL entry. The nentries argument represents the number of ACL entries in the buffer pointed to by aclbufp. RETURN VALUES
Upon successful completion, the function returns 0. Otherwise, it returns -1 and sets errno to indicate the error. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
acl(2), attributes(5) SunOS 5.10 10 Dec 2001 acltomode(3SEC)
All times are GMT -4. The time now is 10:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy