Sponsored Content
Special Forums Cybersecurity can another user 777 and existing 777 dirctory? Post 302326655 by zlek131 on Thursday 18th of June 2009 11:00:48 AM
Old 06-18-2009
Quote:
Originally Posted by jim mcnamara
It has to do with who owns the file - file ownership. chown, chmod, chacl -- require ownership.
So...then dir owned by usrA with 777 on it cannot be chmod 777 by userB is normal behavior or not? Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

chmod 777 security risks?

Hello all, I did a considerable search of the forum and didn't find an answer so I'll ask it here. For clarity's sake I'll state that I know just enough about Unix to be Dangerous (I'm an old Clipper, VO, ASM programmer from the 80's.) I would like to install PHP driven CMS program to my... (6 Replies)
Discussion started by: Gary777
6 Replies

2. UNIX for Dummies Questions & Answers

chmod 777 * - oops

I can belive I really did this... chmod 777 /home :eek: I have my /home directory synced to another machine. Can anyone tell me how to get the permissions from back up server /home to production server /home It's important that I dont over write the files on the... (1 Reply)
Discussion started by: shunter63
1 Replies

3. Solaris

/usr/bin has been changed with 777 permission

Hello Guruz, Relay bad condition :mad: Some has changed the permission to 777 recursively for /usr/bin directory by mistake. Now all the permission looks to be 777 on /usr/bin Hence I am so many system related errors as 1 show below. When I am trying to change the password, I am getting... (5 Replies)
Discussion started by: bullz26
5 Replies

4. Shell Programming and Scripting

set permission on file to 777

Here is the sample code I'm trying to execute. I see that the permission on the file is set to 755 always I want to change it to 777. Please help me with this. code : #!/usr/bin/perl use File::Path qw(make_path remove_tree); my $path = "2010/sam"; make_path($path,{mode=>0777}); ... (1 Reply)
Discussion started by: hansini
1 Replies

5. Windows & DOS: Issues & Discussions

chmod -R 777 * in cygwin

Hello, I use windows XP on a small server. Lately I downloaded a software (hydrological computation) which asked me to install as well the software ‘cygwin' (kind of linux in windows environment) and then to perform in cygwin window the command: ‘chmod -R 777 *' in order to give writings... (2 Replies)
Discussion started by: Cedalise
2 Replies

6. Shell Programming and Scripting

get file permission in 777 format

Hi All, Is there any unix(solaris) command to get file permissions in 777 format or do we need to write some script for it? (7 Replies)
Discussion started by: rishav
7 Replies

7. Shell Programming and Scripting

777 files and dir

i have four files that have 777 permission find /var/tttt/ -type f -perm 0777 /var/ttt/1 /var/ttt/2 /var/ttt/3 /var/ttt/4 if any file other than above 4 have 777 permission then move that file to /garbage/yyyy-mmm-dd . Also email me that this have abcd have 777 permission. (6 Replies)
Discussion started by: learnbash
6 Replies

8. AIX

find command to list all the 777 files and directories owned by root user

Hi I'm logged in to an AIX box now and we need to do an audit on this box. cbssapr01:# pwd / Which command will show all the files and directories owned by root user with permissions as 777 ? (8 Replies)
Discussion started by: newtoaixos
8 Replies

9. UNIX for Dummies Questions & Answers

How to create a file with 777 permission.?

Hi Guys, I want to know is there any method to create a file having 777 permission. I am aware of umask, since it is only giving max. 666 permission for files this is not fulfilling my needs. Thanks in advance ---------- Post updated at 12:49 AM ---------- Previous update was at 12:31... (10 Replies)
Discussion started by: sanoop
10 Replies
wnnhosts(4)							   File Formats 						       wnnhosts(4)

NAME
wnnhosts - Wnn6 Kana-Kanji conversion server/dictionary lookup server access control file SYNOPSIS
/etc/lib/locale/ja/wnn/wnnhosts DESCRIPTION
wnnhosts specifies users who can use the Wnn6 Kana-Kanji conversion server (jserver) and the Kana-Kanji conversion server that can be con- nected to the Wnn6 dictionary lookup server (wnnds). The following is the format of the access control file. Place a space character before "{". jserver ja <Kana-Kanji conversion server> { <access control data> : } wnnds ja <dictionary lookup server> { <access data> : } <Kana-Kanji conversion server> is specified in the following format. hostname The Kana-Kanji conversion server that uses the well-known port number(22273) on host hostname. hostname/port_no The Kana-Kanji conversion server that uses port_no as port number on host hostname. <dictionary lookup server> is specified in the following format. hostname The dictionary lookup server that uses the well-known port number(26208) on host hostname. hostname/port_no The dictionary lookup server that uses port_no as port number on host hostname. <access control data> for jserver is specified in the following format. hostname All the users on the host can use data. hostname:username_list username_list contains a list of username separated with ",". Users listed in the list on this host can use data. @username This user can use data from any host. <access control data> for wnnds is specified in the following format. hostname jserver on this host can be connected. jserver and wnnds use the access control information with the host name and port number matched. Lines beginning with ";" are comments. EXAMPLES
Example 1: jserver ja_JP hostA { ;hostC:usr1,usr2,usr3 hostA:usr1,usr4 hostB hostC:usr5 @usrA ;usrB } wnnds ja_JP hostA { hostA hostD } jserver ja_JP hostA/22273 { hostB hostE @usrA } wnnds ja_JP hostA/22385 { hostA hostD } SEE ALSO
jserver(1M), wnnaccess(1M), wnnds(1M) SunOS 5.10 10 Jan 2003 wnnhosts(4)
All times are GMT -4. The time now is 05:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy