help in changing the access level for directories


 
Thread Tools Search this Thread
Operating Systems Solaris help in changing the access level for directories
# 1  
Old 10-13-2005
help in changing the access level for directories

Hi all,
can some one help me in chmod command, and let me know the various combinations for this command.

for : eg chmod -R 777 <dir names>
this gives all rights to all but i want the specific access levels kindly help me out in this issue.

Thank you,
lakshmanan
# 2  
Old 10-13-2005
# 3  
Old 10-14-2005
Hi,

You can user ACL for specific access.

Pl. see the man pages for setfacl & getfacl commands..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Access time of files and directories

My query please: What I saw how access times of a file and directories work. 1) For a file the access time is the time when I 1st access it after last modification of the file, i.e., if the file is modified at 10 AM and then I access it at 11 AM. After than whenever I access without... (7 Replies)
Discussion started by: ravisingh
7 Replies

2. Shell Programming and Scripting

move directories up one level

hi , could you help me with shell scripting in a shell script i have these commands a=`ls -R $dir | grep ./ ` cp -R ./$a/* ./$output/ with the first command i have all the directories with the second command i want to copy them in a new directory something like this... (2 Replies)
Discussion started by: faethon
2 Replies

3. Programming

write() issue during a low level hdd access

Hi, I am trying to write zeroes to the hdd using a c program. I don't want to use the dd or ddrescue or any such inbuilt program because of reasons like real time progress, writing custom patterns. (my program is more like an erasure application, but does only zero fill). here are the steps... (35 Replies)
Discussion started by: sponnusa
35 Replies

4. UNIX for Dummies Questions & Answers

Changing Directories

How can i create a file, for example with a touch command, in a different directory from the current one i am in, in one single line command? (1 Reply)
Discussion started by: glock1800
1 Replies

5. Shell Programming and Scripting

Script for parsing directories one level and finding directories older than n days

Hello all, Here's the deal...I have one directory with many subdirs and files. What I want to find out is who is keeping old files and directories...say files and dirs that they didn't use since a number of n days, only one level under the initial dir. Output to a file. A script for... (5 Replies)
Discussion started by: ejianu
5 Replies

6. Shell Programming and Scripting

Changing directories using variables.

I can't seem to solve this problem. :mad::mad: Please assist. Thanks! #!/bin/bash UserDir="$(echo ~$1)" echo "Changing directory with variables" cd "$UserDir" echo "Changing directory without variables" cd ~pearsn pwd Output: pearsn$ sh -x ./test.bash pearsn ++ echo '~pearsn' +... (6 Replies)
Discussion started by: twinturbos52
6 Replies

7. Shell Programming and Scripting

Need help in changing Permissions to 775 for files and directories

Hi All I need to create a script which would change Permissions to 775 All the Files and directories will be mentioned in the Paramter files Can anyone give a Hint how to proceed in this ?? THanks (1 Reply)
Discussion started by: ranga27
1 Replies

8. UNIX for Advanced & Expert Users

Access permisions issue for directories

I am getting the different accessing permissions for the directories ,for some directories it is drwxr-sr-x, for some other directories it is like drwxr-xr-x. what is the difference between these 2 access permisions of the directories? (1 Reply)
Discussion started by: bishnu.bhatta
1 Replies

9. UNIX for Dummies Questions & Answers

newbie needing help with upper level directories

What is the purpose (function) of the following upper level directories: - /bin /dev /etc /home /mnt /media /sbin /tmp /var I have encountered these, but as i said, i am new to unix and i am not quite sure what they are and what their fucntions are. Any help would be greatly... (2 Replies)
Discussion started by: carlvernon
2 Replies

10. UNIX for Dummies Questions & Answers

changing directories (i'm sure there is a simple solution for this)

I just want to exit my script in a new directory from a bash shell. Problem is that the script internally changes to the directory I want to move to, however when exits is still in the original directory. Does that make sense? ie usage: goto null changing from /usr/bin/xtra/test/test3/ ... (8 Replies)
Discussion started by: Shakey21
8 Replies
Login or Register to Ask a Question