04-23-2009
Directories need execute permissions.
Try...
chmod 770 dirname
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Forums,
It seems to me that I can't use "su" command. When I type "su", I get the following message:
/sbin/su - Permission denied
Am I missing any thing?
By the way I am using IRIX6.5 on a SGI computer. Many thanks in advance for your help.
Cheers, Siavoush (12 Replies)
Discussion started by: siavoush
12 Replies
2. UNIX for Dummies Questions & Answers
Ok heres the situation
I've been studying Solaris 8 for about 6 months now and some things click in my head but others don't.
One of the things that don't click are file permissions.
For example I login at work and I use the ls -l command to get a long listing of the files w/ the permissions.... (2 Replies)
Discussion started by: eloquent99
2 Replies
3. UNIX for Dummies Questions & Answers
Is it possible to set owner to a group? I need to have a group own a process, because there will be 3 diffrent persons that will start and stop this process. They can not use the same users cause och back logging. we need to know who end when a certian user start/stops processes. (1 Reply)
Discussion started by: dozy
1 Replies
4. UNIX for Dummies Questions & Answers
What does the following permission indicate?
-rwSr----- 1 oracle dba 1536 Nov 7 17:05 orapwRTMDB
Thanks,
Rahul. (1 Reply)
Discussion started by: rahulrathod
1 Replies
5. Shell Programming and Scripting
hi,
I have an account (i.e. abc) which is set up to sftp files from server A to server B; on server B, I have an account (i.e. def) which I use to perform various operation which include invoke certain scripts to execute my java programs. These programs use the files received from server... (2 Replies)
Discussion started by: mpang_
2 Replies
6. AIX
Hi. I would like to be able to deny IP address for too many failed login attemps (either from ssh, sftp, ftp, etc). The system I wish this to work on is an AIX 5.1 system. I'm new to AIX but I'm a linux user. There is a program for linux called fail2ban which reads from the log files and see if... (1 Reply)
Discussion started by: metzgerh
1 Replies
7. Shell Programming and Scripting
hi everyone.
iīve been burning my head for a week now with this problem and i couldnīt find a solution. iīve been looking for an answer in this forum but nothing either. so i decided to ask.
the thing is, i want to create a users with permission to kill just a group of users. i know how to write... (6 Replies)
Discussion started by: lucasmarin
6 Replies
8. Ubuntu
Pictures by worthamtx - Photobucket
The URL is graphic view my present concern. Old partition working great sdb1
both appear on nautilus, both deliver icons to desk top. Based on the label handling of gparted results I tried following with success
sudo mkdir /media/disk/data
sudo chown... (1 Reply)
Discussion started by: 77yrold
1 Replies
9. UNIX for Dummies Questions & Answers
Hello
Whenever we want to oen any type of file by name, we must have execute perm. in each
dir. mentioned in the name. I changed the dir permission using chmod to test the validity of this statement.
but i still can open the file
-------
any guides would be appreciable (2 Replies)
Discussion started by: dr_mabuse
2 Replies
10. UNIX for Dummies Questions & Answers
I dont understand why permission changes are being such a pain in the bum even after I manually changed them through properties....Anyone know what to do here because even thoguh in properties the permissions make me local admin over in the Cygwin its not working..
... (5 Replies)
Discussion started by: okhawaja
5 Replies
CHMOD(1) General Commands Manual CHMOD(1)
NAME
chmod - change mode
SYNOPSIS
chmod [ -Rf ] mode file ...
DESCRIPTION
The mode of each named file is changed according to mode, which may be absolute or symbolic. An absolute mode is an octal number con-
structed from the OR of the following modes:
4000 set user ID on execution
2000 set group ID on execution
1000 sticky bit, see chmod(2)
0400 read by owner
0200 write by owner
0100 execute (search in directory) by owner
0070 read, write, execute (search) by group
0007 read, write, execute (search) by others
A symbolic mode has the form:
[who] op permission [op permission] ...
The who part is a combination of the letters u (for user's permissions), g (group) and o (other). The letter a stands for all, or ugo. If
who is omitted, the default is a but the setting of the file creation mask (see umask(2)) is taken into account.
Op can be + to add permission to the file's mode, - to take away permission and = to assign permission absolutely (all other bits will be
reset).
Permission is any combination of the letters r (read), w (write), x (execute), X (set execute only if file is a directory or some other
execute bit is set), s (set owner or group id) and t (save text - sticky). Letters u, g, or o indicate that permission is to be taken from
the current mode. Omitting permission is only useful with = to take away all permissions.
When the -R option is given, chmod recursively descends its directory arguments setting the mode for each file as described above. When
symbolic links are encountered, their mode is not changed and they are not traversed.
If the -f option is given, chmod will not complain if it fails to change the mode on a file.
EXAMPLES
The first example denies write permission to others, the second makes a file executable by all if it is executable by anyone:
chmod o-w file
chmod +X file
Multiple symbolic modes separated by commas may be given. Operations are performed in the order specified. The letter s is only useful
with u or g.
Only the owner of a file (or the super-user) may change its mode.
SEE ALSO
ls(1), chmod(2), stat(2), umask(2), chown(8)
7th Edition May 22, 1986 CHMOD(1)