File permission on : kmem file


 
Thread Tools Search this Thread
Operating Systems Solaris File permission on : kmem file
# 1  
Old 03-25-2009
File permission on : kmem file

Hello ,

I want to check the file permissions of /dev/kmem .

I am getting 2 kind of file perms...

so which permission i have to consider..

here is 2 case ..

1. ls -al /dev/kmem

lrwxrwxrwx 1 root other 27 Sep 8 2008 /dev/kmem -> ../devices/pseudo/mm@0:kmem

2. ls -alLd /dev/kmem

bash-2.03# ls -alL /dev/kmem
crw-r----- 1 root sys 13, 1 Sep 8 2008 /dev/kmem


*********************

Please tell me which is correct file permissions for "/dev/kmem" file.


Thanks
AVKlinux
# 2  
Old 03-25-2009
you are not getting the two type of permission first one is the soft link and second one is the file so they have different permission go through options of ls in the man page.
# 3  
Old 03-26-2009
The only one that matters is the second one.
# 4  
Old 03-26-2009
Hi, I thoughtI already replied you through ITToolbox ?Smilie
# 5  
Old 03-26-2009
Thank you Friends...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File permission

Only kernel can write to a directory file. Then what does write permission for a directory imply? (2 Replies)
Discussion started by: vijaysy
2 Replies

2. Shell Programming and Scripting

file permission

Hi All, https://www.unix.com/unix-advanced-expert-users/105758-chmod-parent-sub-directories.html I have to change permission for the directories and subdirectories in single command when googled i found some updates but i understand what is switch. If there is a command please... (2 Replies)
Discussion started by: thelakbe
2 Replies

3. UNIX for Dummies Questions & Answers

permission on file

i have two user named sourav and jishu. i have created a file named source.txt in sourav. i made another user called shovon. i want to give read write permission of souce.txt for shovon but not for jishu. how can i set permission only for jishu ? (1 Reply)
Discussion started by: sourav_ray
1 Replies

4. Cybersecurity

file permission/acl: 2 users with write access on 1 file...

Hello, i need some help/advice on how to solve a particular problem. these are the users: |name | group | ---------- --------------- |boss | department1 | |assistant | department1 | |employee | department1 | |spy | department2 | this is the... (0 Replies)
Discussion started by: elzalem
0 Replies

5. UNIX for Dummies Questions & Answers

File Permission

Hi, When I listed one directory in Sun, it showed that : -rwsr-xr-x 1 root bsmbin 78004 Oct 21 2004 bsmprsm I don't know meaning of the character "s" in "rws" above. I have searched in Sun admin documents but no result. Would you please explain it ? :) Thank you so much. (1 Reply)
Discussion started by: msg098
1 Replies

6. UNIX for Advanced & Expert Users

File Permission

User - sysopr need to convert the output file from Oracle UTL_FILE_DIR using dos2unix command. However, the file owner and the group is belongs to oracle with dba group as follows: -rw-r--r-- 1 oradw dba 22049864 May 23 15:37 transmission*.csv What are the possible methods to... (2 Replies)
Discussion started by: KhawHL
2 Replies

7. UNIX for Dummies Questions & Answers

File permission

Hi, I have one question. My home directory of my unix account is open for everyone. If other account copy my files to their directory, is there a way that I can find out who did it. Does the system administrator have some kind of events logs to find out? Thank you so much! (3 Replies)
Discussion started by: cleanice
3 Replies

8. Shell Programming and Scripting

The file permission

there is a directory eg. /home/edp/ , all the files under this directory : 1. the file and directory owner is "user1" , 2. the permission is 644 I want everyone hv permission to overwrite all files and write a new file to it , but I want the file owner and permssion keep unchange , could... (1 Reply)
Discussion started by: ust
1 Replies

9. UNIX for Dummies Questions & Answers

The file permission

I have a file ( /tmp/file.txt ) , the file owner is user1:edp , the permission is 644 , I want everyone can overwrite the file but don't change the file owner and permssion , could suggest what can I do ? thx (2 Replies)
Discussion started by: ust
2 Replies

10. UNIX for Advanced & Expert Users

File Permission

I have written a shell script function, this function reads a encrypted a file and does some processing. I want to give execute permissions to others but I don't want to give read access to the shell script function. Since the shell script function know how to open the encrypted file so that's why... (6 Replies)
Discussion started by: sanjay92
6 Replies
Login or Register to Ask a Question