Sponsored Content
Full Discussion: Unix File Permissions
Top Forums Shell Programming and Scripting Unix File Permissions Post 302355384 by Masanamuthu on Tuesday 22nd of September 2009 12:54:58 PM
Old 09-22-2009
chmod 2710 <filename>

Try this.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix permissions

I am currently running jsp pages on unix server. At the top of my page is the import statement: <%@ page import="survey.*"%>. This imports the survey folder which i have placed in the same directory as my jsp page- jsp-servlet. However, when i try to run the page, its gives me an error saying that... (2 Replies)
Discussion started by: moukoko
2 Replies

2. UNIX for Advanced & Expert Users

UNIX File Permissions

Hello, What does the following mean in terms of file permissions. -rw-rwSrw- 1 owner group 999 May 25 2004 file_name What does the "S" stand for. Thanks in advance for your input. :) (3 Replies)
Discussion started by: jerardfjay
3 Replies

3. Solaris

Unix permissions

Is anyone aware of a tool that would produce a report or an extract file of all users, the files thry are allowed to access and their associated rights permitted (Read,Write etc.) (0 Replies)
Discussion started by: mobershaw
0 Replies

4. UNIX for Dummies Questions & Answers

Unix permissions for a newbie

Okay, this may turn out to be something quite simple, but I haven't found the answer so far: 1) Is it possible to retrieve a list of user(ID) file permissions? and then... 2) What is the most efficient way to create an alert/error message when/if those file permissions are denied? ... (2 Replies)
Discussion started by: hades1013
2 Replies

5. UNIX for Dummies Questions & Answers

Unix Permissions

We have a user group ‘norkgrp’ which is having 2 users ‘norkadm’ and ‘oracle’. Further we have a directory ‘fstf_blobs’ where ‘norkadm’ is the owner and ‘norkgrp’ is the group owner. The permission is set as 770. $ ls -lrt drwxrwx--- 2 norkadm norkgrp 1024 Jun 24 05:03 fstf_blobs We... (5 Replies)
Discussion started by: varunrbs
5 Replies

6. Solaris

Unix file, folder permissions, security auditing tools.

I want to periodically check if ASCII password/config files on Unix have 400 or 600 access. Folders and files are owned by designated group and user. Folders and Files do not have world write access. Are there any tools/scripts available for this kind of auditing that I can use on Solaris? (7 Replies)
Discussion started by: kchinnam
7 Replies

7. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

8. Tips and Tutorials

Unix File Permissions

Introduction I have seen some misinformation regarding Unix file permissions. I will try to set the record straight. Take a look at this example of some output from ls: $ ls -ld /usr/bin /usr/bin/cat drwxrwxr-x 3 root bin 8704 Sep 23 2004 /usr/bin -r-xr-xr-x 1 bin bin ... (6 Replies)
Discussion started by: Perderabo
6 Replies
ost::Dir(3)						     Library Functions Manual						       ost::Dir(3)

NAME
ost::Dir - A low level portable directory class. SYNOPSIS
#include <file.h> Inherits ost::File. Public Member Functions Dir (const char *name=NULL) void open (const char *name) void close (void) virtual ~Dir () const char * getName (void) const char * operator++ () const char * operator++ (int) const char * operator* () bool rewind (void) bool operator! () bool isValid (void) Static Public Member Functions static bool create (const char *path, Attr attr=attrGroup) static bool remove (const char *path) static bool setPrefix (const char *path) static bool getPrefix (char *path, size_t size=256) Additional Inherited Members Detailed Description A low level portable directory class. Used to support ccstd Directory container. This provides a basic mechanism for allocating and accessing file entries. Author: David Sugar dyfet@ostel.com low level directory access class. Constructor &; Destructor Documentation ost::Dir::Dir (const char *name = NULL) virtual ost::Dir::~Dir () [virtual] Member Function Documentation void ost::Dir::close (void) static bool ost::Dir::create (const char *path, Attrattr = attrGroup) [static] const char* ost::Dir::getName (void) static bool ost::Dir::getPrefix (char *path, size_tsize = 256) [static] bool ost::Dir::isValid (void) void ost::Dir::open (const char *name) bool ost::Dir::operator! () [inline] const char* ost::Dir::operator* () const char* ost::Dir::operator++ () [inline] const char* ost::Dir::operator++ (int) [inline] static bool ost::Dir::remove (const char *path) [static] bool ost::Dir::rewind (void) static bool ost::Dir::setPrefix (const char *path) [static] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::Dir(3)
All times are GMT -4. The time now is 07:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy