Sponsored Content
Homework and Emergencies Homework & Coursework Questions changing permissions of a file whos name was passed to 755 Post 302398853 by methyl on Thursday 25th of February 2010 07:48:29 PM
Old 02-25-2010
Good luck anix007 and welcome to our world.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

changing file permissions

Use the following to Change permission of fileB (fileB could be fileB*) to change its permission same as the permission of fileA. chmod `ls -l fileA | awk '{pr int "u+", substr($1,2,1), substr($1,3,1), substr($1,4,1), ",g+", substr($1,5,1), substr($1,6,1), substr($1,7,1), ",o+",... (0 Replies)
Discussion started by: gagansharma
0 Replies

2. Shell Programming and Scripting

Changing Permissions

Is it possible to change the permissons for an entire directory in one shot? I'm telneting on to a linux server. ...just a beginner-- --Paul (4 Replies)
Discussion started by: pdavid
4 Replies

3. UNIX for Advanced & Expert Users

Changing file permissions on upload

Hello ! When I connect to a RH FTP server, the files I transfer (from my "windows computer") to this server have the following permissions : -rw------- but I would like those files to have the following permissions : - rw-rw-r-x How can I do that ??? :) Thanks for your help ! G. (6 Replies)
Discussion started by: guix
6 Replies

4. UNIX for Dummies Questions & Answers

changing default file permissions

How can I change the default permissions that are assigned when I create a file? (By default the file has: -rw-r--r-- ..... I'd like it to be -rw-r----- How can I change this default behavior? (8 Replies)
Discussion started by: FredSmith
8 Replies

5. UNIX for Dummies Questions & Answers

Changing file permissions

Is there a way to change a unix user's default file permissions so that when he creates a file, by default permissions are 777??? Thanks! (7 Replies)
Discussion started by: FredSmith
7 Replies

6. UNIX for Dummies Questions & Answers

changing permissions on a 444 file (ie chmod 444)

if I have a file set to permisions 444 (r-- r-- r--) should anyone other than the owner and root be able to change these permissions or delete the file. Apologies if this is a no-brainer but I cant test it myself and someone in our organisation is playin around with files they shouldnt be (1 Reply)
Discussion started by: ajcannon
1 Replies

7. Cybersecurity

changing /cn@0:console file permissions

I'm doing a security sweep of a Sun Sol 5.8 system. The file: /dev/console, which links to /devices/pseudo/cn@0:console, has the following perms: crw--w--w- I would like to get rid of the world write permissions. I can change the file permissions, but as soon as log back in, they are changed... (4 Replies)
Discussion started by: ErnieG
4 Replies

8. Shell Programming and Scripting

HELP changing file permissions

does anyone know how to write a script that will change file permissions. because the Admin blocked me from altering any of my files im only allowed to read and i heard a script like this can bypass it but i dont know how to write it. Display current users. Display user Ids only. Display... (10 Replies)
Discussion started by: live2learn
10 Replies

9. Homework & Coursework Questions

changing permissions of a file whos name was passed to 755

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a shell script that gives a passed file the "755" access permissions. The shell script should: Change... (0 Replies)
Discussion started by: anix007
0 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
GLOBAL LIBRARY 
STATE(3) SLV2 GLOBAL LIBRARY STATE(3) NAME
Global_library_state - The 'world' represents all library state, and the data found in bundles' manifest.ttl (ie it is an in-memory index of all things LV2 found). Functions SLV2World slv2_world_new () void slv2_world_free (SLV2World world) void slv2_world_load_all (SLV2World world) void slv2_world_load_bundle (SLV2World world, SLV2Value bundle_uri) SLV2PluginClass slv2_world_get_plugin_class (SLV2World world) SLV2PluginClasses slv2_world_get_plugin_classes (SLV2World world) SLV2Plugins slv2_world_get_all_plugins (SLV2World world) SLV2Plugins slv2_world_get_plugins_by_filter (SLV2World world, bool(*include)(SLV2Plugin)) Detailed Description Plugins (and plugin extensions) and the LV2 specification (and LV2 extensions) itself can be queried from the world for use. Normal hosts which just want to easily load plugins by URI are strongly recommended to simply call slv2_world_load_all to find all installed data in the recommended way. Normal hosts should NOT have to refer to bundles directly under normal circumstances. However, functions are provided to load individual bundles explicitly, intended for hosts which depend on a specific bundle (which is shipped with the application). Function Documentation SLV2World slv2_world_new () Initialize a new, empty world. If initialization fails, NULL is returned. SLV2World slv2_world_new_using_rdf_world (librdf_world * world) Initialize a new, empty world, using an existing Redland context. void slv2_world_free (SLV2World world) Destroy the world, mwahaha. NB: Destroying the world will leave dangling references in any plugin lists, plugins, etc. Do not destroy the world until you are finished with all objects that came from it. void slv2_world_load_all (SLV2World world) Load all installed LV2 bundles on the system. This is the recommended way for hosts to load LV2 data. It does the most reasonable thing to find all installed plugins, extensions, etc. on the system. The environment variable LV2_PATH may be used to set the directories inside which this function will look for bundles. Otherwise a sensible, standard default will be used. Use of other functions for loading bundles is highly discouraged without a special reason to do so - use this one. Time = Query void slv2_world_load_bundle (SLV2World world, SLV2Value bundle_uri) Load a specific bundle. o bundle_uri A fully qualified URI to the bundle directory, with the trailing slash, eg. file:///usr/lib/lv2/someBundle/ Normal hosts should not use this function. Hosts should never attach any long-term significance to bundle paths as there are no guarantees they will remain consistent whatsoever. Plugins (and other things) are identified by URIs, not bundle or file names. This function should only be used by apps which ship with a special bundle (which it knows exists at some path because the bundle is shipped with the application). Time = Query SLV2PluginClass slv2_world_get_plugin_class (SLV2World world) Get the parent of all other plugin classes, lv2:Plugin. Time = O(1) SLV2PluginClasses slv2_world_get_plugin_classes (SLV2World world) Return a list of all found plugin classes. Returned list is owned by world and must not be freed by the caller. Time = O(1) SLV2Plugins slv2_world_get_all_plugins (SLV2World world) Return a list of all found plugins. The returned list contains just enough references to query or instantiate plugins. The data for a particular plugin will not be loaded into memory until a call to an slv2_plugin_* function results in a query (at which time the data is cached with the SLV2Plugin so future queries are very fast). Returned list must be freed by user with slv2_plugins_free. The contained plugins are owned by world and must not be freed by caller. Time = O(1) SLV2Plugins slv2_world_get_plugins_by_filter (SLV2World world, bool(*)(SLV2Plugin) include) Return a list of found plugins filtered by a user-defined filter function. All plugins currently found in world that return true when passed to include (a pointer to a function which takes an SLV2Plugin and returns a bool) will be in the returned list. Returned list must be freed by user with slv2_plugins_free. The contained plugins are owned by world and must not be freed by caller. Time = O(n * Time(include)) Author Generated automatically by Doxygen for SLV2 from the source code. Version 0.6.6 2 Apr 2009 GLOBAL LIBRARY STATE(3)
All times are GMT -4. The time now is 10:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy