11-05-2000
re: chmod help
thanks! the command did work but however I found WS_FTP and if you right click on the folder or file it allows you to chmod from there. I got rid of the retarded ass acting FTP Works software! FTP StupidWorks should be the name! Well thanks! and I have also been given a heads up lesson by my sidekick in all that I do today. but if you want to also try to teach me unix, you can. well i gotta run! peace!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Here is the deal, I am good with html and java and am creating a website for my brother. On this site he has chosen to use a ikonboard.com discussion board. I have done everything I can to pull it off, but no can do. Here is the problem:
The site is being created using the angelfire... (12 Replies)
Discussion started by: xwfprez
12 Replies
2. UNIX for Dummies Questions & Answers
Hi,
can anybody help me?
i have probable a simple problem about permissions.
i have a server and on this server there comes some files from a another server via ftp with a separte user.
i would like to modify the files with a awk script but i donīt have the permissions to modify the... (3 Replies)
Discussion started by: scotty
3 Replies
3. UNIX for Dummies Questions & Answers
Hey everyone, I was wondering if there was a quicker way to chmod a lot of files than doing what im currently doing.
At the moment, im doing chmod 777 *filename* - but I have a lot of files, sub-directories, sub-files etc etc. And at the moment I see I have to chmod every single file... (3 Replies)
Discussion started by: mo0ness
3 Replies
4. UNIX for Dummies Questions & Answers
Hi peeps,
I'm new here, so I hope I'm posting in the right place...
If I'm in a particular directory and I run the command 'CHMOD * 777' (or the other way around- I can't remember), am I right in saying it will only change the permissions of all the immediate files and directories and not... (1 Reply)
Discussion started by: jsp_1983
1 Replies
5. UNIX for Dummies Questions & Answers
I've always been fascinated by permissions and I have a question. Since the shell isn't a "virtual environment" (like say a web forum, where permissions can be enforced with absolute confidence), what's actually keeping an unauthorized user from viewing a CHMODed file? The read/write routines? Why... (1 Reply)
Discussion started by: froth
1 Replies
6. UNIX for Dummies Questions & Answers
Hey.
I was playing somethink with chmods, and then i did chmod -R 755 / :eek:
so linux but with errors and sshd not working ....
Can some one give me proper chmods or better script that will do it.
pls help fast (7 Replies)
Discussion started by: net555
7 Replies
7. Shell Programming and Scripting
hello,
i want to chmod 444 all files in a directory, files in subdirs cannot be chmoded same goes for the subdirs themself.
So using:
chmod -R 444 /dir/
won't work because it will chmod the directorys and files (together with files in subdirectorys)
I figured out how to chmod files... (1 Reply)
Discussion started by: TehOne
1 Replies
8. UNIX for Advanced & Expert Users
I have two files,like follows:
$ls -l foo bar
-rw------- bar
-rw-rw-rw- foo
Then I execute follow code:
chmod("foo",(statbuf.st_mode & ~S_IXGRP) | S_ISGID)
chmod("bar",S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)
Then I view the result
$ls -l foo bar
-rw-r--r-- bar... (1 Reply)
Discussion started by: konvalo
1 Replies
9. UNIX and Linux Applications
i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies
10. UNIX for Dummies Questions & Answers
Hi I tried to use chmod in unix to change my file's permission.
chmod 701 hello.cgi
And it did change my desired file's permission. Yet, the name of the file is changed to hello.cgi* . And therefore I cannot compile it after that. So, I just wondering why there is an extra '*' in the file's... (2 Replies)
Discussion started by: alvin8906
2 Replies
CHMOD(1) General Commands Manual CHMOD(1)
NAME
chmod - change mode
SYNOPSIS
chmod mode file ...
DESCRIPTION
The mode of each named file is changed according to mode, which may be an octal number or a symbolic change to the existing mode. A mode
is an octal number constructed from the OR of the following modes.
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
The who part is a combination of the letters u (for user's permissions), g (group) and o (other). The letter a stands for ugo. If who is
omitted, the default is a.
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), a (append only), and l (exclusive access).
Only the owner of a file or the group leader of its group may change the file's mode.
SOURCE
/sys/src/cmd/chmod.c
SEE ALSO
ls(1), stat(2), stat(5)
CHMOD(1)