9 More Discussions You Might Find Interesting
1. Tips and Tutorials
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
2. UNIX for Dummies Questions & Answers
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
3. Shell Programming and Scripting
I want to change one of my Dir permissions to drwx--S--- Can you tell me which number i have to use.
Thanks in Advance (4 Replies)
Discussion started by: veeru
4 Replies
4. UNIX for Dummies Questions & Answers
Hi All
I am using cygwin and if i type ls -l it is giving like
drwxr-xr-x+ for directories.
My question is what is the meaning of '+' sign at the end?
its not giving that '+' sign for files.
Thank you (1 Reply)
Discussion started by: Usha Shastri
1 Replies
5. UNIX for Dummies Questions & Answers
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
6. UNIX for Dummies Questions & Answers
Hello all,
Trying to do the following.
1. Run Windows installer from a unix server.
2. Let user run the shortcut but not allow access to the folder where the exe itself is running.
What I have done so far:
1. Copied the application to the server and placed in a folder called "data".... (2 Replies)
Discussion started by: whiterabbit
2 Replies
7. UNIX for Advanced & Expert Users
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
8. UNIX for Dummies Questions & Answers
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
9. Filesystems, Disks and Memory
I want to change a file permission which just I can list , read, and write it. So, does anybody can tell me the command? (2 Replies)
Discussion started by: a8111978
2 Replies
deallocate(1) deallocate(1)
NAME
deallocate - device deallocation
SYNOPSIS
deallocate [-s] device
deallocate [-s] [-F] device
deallocate [-s] -I
The deallocate utility deallocates a device allocated to the evoking user. device can be a device defined in device_allocate(4) or one of
the device special files associated with the device. It resets the ownership and the permission on all device special files associated with
device, disabling the user's access to that device. This option can be used by an authorized user to remove access to the device by another
user. The required authorization is solaris.device.allocate.
When deallocation or forced deallocation is performed, the appropriate device cleaning program is executed, based on the contents of
device_allocate(4). These cleaning programs are normally stored in /etc/security/lib.
The following options are supported:
device Deallocate the device associated with the device special file specified by device.
-s Silent. Suppresses any diagnostic output.
-F device Forces deallocation of the device associated with the file specified by device. Only a user with the solaris.device.revoke
authorization is permitted to use this option.
-I Forces deallocation of all allocatable devices. Only a user with the solaris.device.revoke authorization is permitted to
use this option. This option should only be used at system initialization.
The following exit values are returned:
non--zero An error occurred.
/etc/security/device_allocate
/etc/security/device_maps
/etc/security/dev/*
/etc/security/lib/*
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
allocate(1), list_devices(1), bsmconv(1M), dminfo(1M), mkdevalloc(1M), mkdevmaps(1M), device_allocate(4), device_maps(4), attributes(5)
The functionality described in this man page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv(1M) for
more information.
/etc/security/dev, mkdevalloc(1M), and mkdevmaps(1M) might not be supported in a future release of the Solaris Operating Environment.
28 Mar 2005 deallocate(1)