Sponsored Content
Full Discussion: File Permissions
Special Forums Hardware Filesystems, Disks and Memory File Permissions Post 15074 by buRst on Saturday 9th of February 2002 06:39:10 PM
Old 02-09-2002
Bug File Permissions

Hi ;
Working off a AIX 4.3.
There are three users, root, axel & rose.
I have a directory where data is stored owned by root.
Now as user axel & rose I cannot cp or mv the files out from this dir, but about a week ago this was possible.

1st Q is why this sudden change.
2nd Q is is there a way that we can make all the users use this dir.
I would also like to inform you that we have a trivial root/pswd, so we do get in as root and do the needfull.

Would appreciate your input.

thnx
buRst
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

file permissions

Hi! Is there any shell parameter that I can use in my script to check the file-permissions I have in the currect directory!? The history behind is: My script tries to create some log files in the folder and I want to see whether I have enough permissions to do that. And exit in case I dont... (4 Replies)
Discussion started by: mohanprabu
4 Replies

2. UNIX for Dummies Questions & Answers

File permissions

Is there any way that I can use the ls command to view the permissions that a group has on a file. I know ls -l file1 will list all the permissions for file1. Would I have to use the following command: ls -l file1 Then grep or sed the output to retrieve what permissions the group has. (5 Replies)
Discussion started by: beginner1
5 Replies

3. UNIX for Dummies Questions & Answers

file permissions: l

Hello, what does the l file permission stands for and in which UNIX systems can it be used? (1 Reply)
Discussion started by: Tobe
1 Replies

4. HP-UX

To give the "unzip" permissions & "create" file permissions

Hi, I am a Unix Admin. I have to give the permissions to a user for creating new file in a directory in HP-Ux 11.11 system since he cannot able to create a new file in the directory. Thanks in advance. Mike (3 Replies)
Discussion started by: Mike1234
3 Replies

5. Shell Programming and Scripting

file permissions

Hi all, My UNIX box is HP UX - 11.11. I have got a basic doubt. What are the global permissions for a file and directory? I set the mask as 111 in my .profile. When I create a new file, it gets created withe -rw-rw-rw- permissions. A directory is created with drw-rw-rw- permissions. So, i... (7 Replies)
Discussion started by: ranj@chn
7 Replies

6. Shell Programming and Scripting

Retain file permissions when saving .sh file from internet [OS X]

Hello. I have written a bash script that I am sharing with an OS X community I am a member of. The purpose of the script is to execute a series of commands for members without them having to get involved with Terminal, as it can be daunting for those with no experience of it at all. I have renamed... (4 Replies)
Discussion started by: baza210
4 Replies

7. AIX

File Permissions nobody:nobody

AIX 5.3 environment. On the local system, I am sharing a jfs2 filesystem as an exported filesystem. I have many other AIX 5.3 server mounting to this file system and can create, move, copy, ... data to and from this share. Recently, we've run into a problem. When on another system (okay, all... (5 Replies)
Discussion started by: clking
5 Replies

8. Filesystems, Disks and Memory

Regarding File permissions

Hi, I have a shellscript.I want to protect the source code. So I gave 711 permission on the file(owner=rwx,group=x,others=x) but still others are not able to execute it. Please help me in protecting the source code.I don't want others to use any cat or vi command on the script but... (1 Reply)
Discussion started by: bishnu.bhatta
1 Replies

9. 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

10. Shell Programming and Scripting

Changing file permissions of a file created by another user

Hi, I have used expdp for datapump. The .dmp file is created by the "oracle" user. my requirement is to make a zipped file of this .dmp file. What i am trying to do is change the permissions of this .dmp file from 0640 to 0644 and then do a gzip and zip it. Is there any way i can change... (3 Replies)
Discussion started by: qwertyu
3 Replies
CHI::Driver::File(3pm)					User Contributed Perl Documentation				    CHI::Driver::File(3pm)

NAME
CHI::Driver::File - File-based cache using one file per entry in a multi-level directory structure VERSION
version 0.54 SYNOPSIS
use CHI; my $cache = CHI->new( driver => 'File', root_dir => '/path/to/cache/root', depth => 3, max_key_length => 64 ); DESCRIPTION
This cache driver stores data on the filesystem, so that it can be shared between processes on a single machine, or even on multiple machines if using NFS. Each item is stored in its own file. By default, during a set, a temporary file is created and then atomically renamed to the proper file. While not the most efficient, it eliminates the need for locking (with multiple overlapping sets, the last one "wins") and makes this cache usable in environments like NFS where locking might normally be undesirable. By default, the base filename is the key itself, with unsafe characters escaped similar to URL escaping. If the escaped key is larger than "max_key_length" (default 248 characters), it will be digested. You may want to lower "max_key_length" if you are storing a lot of items as long filenames can be more expensive to work with. The files are evenly distributed within a multi-level directory structure with a customizable "depth", to minimize the time needed to search for a given entry. CONSTRUCTOR OPTIONS
When using this driver, the following options can be passed to CHI->new() in addition to the CHI. root_dir The location in the filesystem that will hold the root of the cache. Defaults to a directory called 'chi-driver-file' under the OS default temp directory (e.g. '/tmp' on UNIX). This directory will be created as needed on the first cache set. depth The number of subdirectories deep to place cache files. Defaults to 2. This should be large enough that no leaf directory has more than a few hundred files. Each non-leaf directory contains up to 16 subdirectories (0-9, A-F). dir_create_mode Permissions mode to use when creating directories. Defaults to 0775. file_create_mode Permissions mode to use when creating files, modified by the current umask. Defaults to 0666. file_extension Extension to append to filename. Default is ".dat". METHODS
path_to_key ( $key ) Returns the full path to the cache file representing $key, whether or not that entry exists. Returns the empty list if a valid path cannot be computed, for example if the key is too long. path_to_namespace Returns the full path to the directory representing this cache's namespace, whether or not it has any entries. TEMPORARY FILE RENAME
By default, during a set, a temporary file is created and then atomically renamed to the proper file. This eliminates the need for locking. You can subclass and override method generate_temporary_filename to either change the path of the temporary filename, or skip the temporary file and rename altogether by having it return undef. SEE ALSO
CHI AUTHOR
Jonathan Swartz <swartz@pobox.com> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-05-30 CHI::Driver::File(3pm)
All times are GMT -4. The time now is 06:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy