Get directory permissions in unix like form

Hi! I've searched a lot for a solution to this but can find something. I want to see all the permissions that the user who is running an application has on certain directory. Some time ago I saw a simple application that gives that in a unix like form:
-dr-w-x owner file .....
I want something like that. I know that I can use canRead or canWrite, but there are a lot more permissiones involved, as for example the execute permissions, and... you may find a file (exists) , but that doesn't mean you can access it.
Hope someone out there knows how to do what I want, this is for solaris and/or windows XP (I know some windowses doesn't support the "owner" scheme)
Thanks a lot!

Windows doesn't (to my knowledge) have that level of granularity of permissions on a file level.
PS.

Similar Messages

  • How do I get directory permissions to replicate downward?

    I am trying to modify some directory permissions, but have noticed that the parent directories permissions do not by default replicate downward.  How can I change this so that once the parent folder has been modified, it is reflected into the children directories

    Do a Get Info (command - I) on the parent, unlock if required. set the permissions you want, then go to the gear and select to Apply to Enclosed items.
    I type too slow.

  • File permissions $OH Unix and Windows

    Hi,
    I am examining an Oracle audit and now looking for all the default file/directory permissions on Unix and Windows. Have searched a lot of sites now but could not find a proper list with all the permissions mentiond. Does anybody knows where to find such a list (or script) to check if my current settings are ok?
    I use OEM to check for my open security policies but this permission item is very hard to find unfortunately.
    So please some info on this unix/windows permissions issue.
    Thanks,
    Paul
    btw Have found some settings for bdump, udump, adump, $OH/rdbms/log and audit (umask 0177) but want to check those other permissions for the whoe installed Oracle software en admin directories.
    Edited by: Paul van Rixel on 12-mei-2009 13:30

    Hi,
    Picked a few alerts from EM, for example:
    Allowed Logon Version
    Default Passwords
    Default Permanent Tablespace Set to a System Tablespace
    Initialization Parameter File Permission
    The last few weeks I have already disabled some of the policies but these are the alerts which are left now and I want to get rid of them.
    When you click in EM on "Initialization Parameter File Permission" the description of it is: Ensures that access to the initialization paramater file is restricted to the owner of the Oracle software set and the DBA group.
    So, ok thats is clear to me but I want to look at the whole server/database to make it a "clean" server/db.
    Paul

  • GDM update: directory permissions differ on /var/log/gdm/

    Hello,
    Running Arch 64Bits kernel 3.9.9-1 with systemd and i got the following warning during a gdm update today:
    (1/6) upgrading libgdm [######################] 100%
    (2/6) upgrading gdm [######################] 100%
    warning: directory permissions differ on /var/log/gdm/
    filesystem: 711 package: 1770
    Why would gdm need some 1770 permissions for log files? Looks pretty suspicious to me, especially the sticky bit thing. What did i miss?
    PS: BTW the update is successful (it's a warning afterall, not an error)
    Thanks
    EDIT:
    Looks like the opposite situation than 3 years ago:
    https://bbs.archlinux.org/viewtopic.php?id=94681
    https://bugs.archlinux.org/task/19294
    EDIT2: here's what i have in /var/log:
    msytux666 var # ls -la
    total 64
    drwxr-xr-x 14 root root 4096 Jul 6 15:34 .
    drwxr-xr-x 20 root root 4096 Jul 16 20:24 ..
    -rwxrwxrwx 1 root root 4192 Jun 19 11:27 .com.zerog.registry.xml
    drwxr-xr-x 7 root root 4096 Jul 7 00:07 abs
    drwxr-xr-x 8 root root 4096 Jun 16 17:28 cache
    drwxr-xr-x 3 root root 4096 Jun 17 19:07 db
    drwxr-xr-x 2 root root 4096 May 31 20:40 empty
    drwxrwxr-x 2 root games 4096 May 31 20:40 games
    drwx--x--x 2 gdm gdm 4096 Jun 15 14:23 gdm
    drwxr-xr-x 26 root root 4096 Jul 16 01:13 lib
    drwxr-xr-x 2 root root 4096 May 31 20:40 local
    lrwxrwxrwx 1 root root 11 May 31 20:40 lock -> ../run/lock
    drwxr-xr-x 6 root root 4096 Jul 18 00:33 log
    lrwxrwxrwx 1 root root 10 May 31 20:40 mail -> spool/mail
    drwxr-xr-x 2 root root 4096 May 31 20:40 opt
    lrwxrwxrwx 1 root root 6 May 31 20:40 run -> ../run
    drwxr-xr-x 6 root root 4096 Jun 16 17:28 spool
    drwxrwxrwt 8 root root 4096 Jul 18 00:33 tmp
    gdm is owned by gdm, so why would it needs 1770 permissions?
    EDIT3:
    After further research i appear the way gdm is installed may matter.
    Well i installed gdm through pacman and always update it with pacman as well. Never manually compiled/make_install'd it nor used abs for it.
    Last edited by BGK (2013-07-19 21:37:13)

    Okay I'm confused ...
    Commit:https://projects.archlinux.org/svntogit … 92c38d536d
    @@ -68,8 +68,7 @@ package_gdm() {
    cd $pkgbase-$pkgver
    make DESTDIR="$pkgdir" install
    - chmod 1770 "$pkgdir/var/log/gdm"
    - chmod 700 "$pkgdir/var/lib/gdm/.config/dconf"
    + chmod 711 "$pkgdir/var/log/gdm"
    rm -r "$pkgdir/var/run" "$pkgdir/var/gdm"
    ### Split libgdm
    so that takes away the 1770 permissions, and replaces them with 711. 
    @@ -5,6 +5,7 @@ post_install() {
    getent passwd gdm > /dev/null 2>&1 || usr/sbin/useradd -c 'Gnome Display Manager' -u 120 -g gdm -d /var/lib/gdm -s /sbin/nologin gdm
    passwd -l gdm > /dev/null
    chown -R gdm:gdm /var/lib/gdm > /dev/null
    + chown root:gdm /var/log/gdm > /dev/null
    glib-compile-schemas /usr/share/glib-2.0/schemas
    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
    however:
    chown root:gdm /var/log/gdm > /dev/null
    .. is where I get confused.  This command makes root and the group gdm the new owners of /var/log/gdm, or did I go wrong somewhere?

  • Repair Home Directory Permissions in Lion

    I currently have my home directory on it's own physical disk (not in the default location on my OS drive).
    When I try to "reset home directory permissions" against my user account in OS X Lion, nothing happens. When I do it for a user who has his home directory on the OS drive, everything works like a champ. The same thing happens under Snow Leopard as well, and I've been trying to track down a solution to this for a long time.
    Does anyone know how to fix this? I tried setting the permissions, ACL's, extended atttributes, etc to the best of my ability using Unix commands, and I'm not really having any issues at the moment, but I'd like to be able to set everything back to the way it should be in my home directory.
    Also, I don't have enough space on my OS drive to move my home directory back to the default location in order to do the reset.
    Any help would be appreciated.
    Bobby

    If you go into System Preferences / Users, you can right click on your User account and choose advanced options. In there, you are able to point your users directory to any disk (or folder) on your machine. I chose to move my home directory to a separate drive in my Mac Pro to make rebuilds easier. Now if I want to reinstall my OS, I simply blow the existing OS away, format the OS disk, and once a fresh OS is installed, I just re-point my account to the existing drive where my home directory is, and all is cool. It's definitely a supported configuration by Apple, and many people do it. It's just aggravating that their "reset home directory permissions" routine doesn't like it.
    My OS drive is a 128gb SSD, and my home directory sits on a 3tb HDD. From a performance and separation perspective it's perfect.
    Bobby

  • Unix Shell + forms 4.5

    Hi all,
    How can I call a UNIX shell program (e.g., x.sh) from forms 4.5
    Thank you in advance
    Regards
    Omran

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Anton Weindl ([email protected]):
    You can either use rsh or rexec (both available on windows). You will have to edit the .rhosts in the home directory of the unix user the script will be run under:
    <Client-Hostname> <USER>
    <USER> must match the Windows-User exactly.
    You can then execute the Shell-Script with
    host('rsh <HOST> -l <USER> sh <SCRIPT>',NO_SCREEN)
    Hope that helps
    Anton Weindl
    <HR></BLOCKQUOTE>
    Thank You Anton Weindl,
    It seems like the thing I want to use instead of the dbms_pipe.
    I tried to use rsh and gives me the following message
    command: "rsh taurus -l nileshs test.sh"
    where taurus is hostname and
    guest is unix username
    I am logged on windows 2000 with this name.
    "taurus permission denied:"
    "rsh can't establish connection"
    Let me know if I am missing anything.
    Thanks.
    null

  • Warning: directory permissions differ

    I am getting an error when downloading and installing packages with pacman.
    This is what I get:
    $ sudo pacman -S nitrogen
    warning: nitrogen-1.2-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets: nitrogen-1.2-1
    Total Download Size: 0.00 MB
    Total Installed Size: 0.13 MB
    Proceed with installation? [Y/n]
    checking package integrity...
    (1/1) checking for file conflicts [#####################] 100%
    (1/1) upgrading nitrogen [#####################] 100%
    warning: directory permissions differ on usr/man/man1/
    filesystem: 755 package: 700
    I don't know if that has a serious impact, but I am sure it shouldn't be like that...

    Snowman wrote:Submit a bug report.
    This is one way and i hope it helps you and the other devs. But what do you think about that the systems can repair this by itselfs? On my opensuse server i have a tool named chkstat which runs as a cronjob and set the file permissions as loaded from a file.
    Source: http://ftp.gwdg.de/pub/opensuse/distrib … 11.src.rpm
    manpage: http://www.trinler.de/de/linux/man.html?command=chkstat
    The advantage from my side is that one or a group of devs define the file permissions standard for arch linux and everyone can choose to use it or to append own more or less secure/paranoid settings. Another sideeffect is that every dev can take a look inside this config file to see what permission the own PKGBUILD need so that in the best case we will not see such messages in the future. The source includes config files so there is no need to restyle this all from zero.

  • [SOLVED] Need Help Understanding Warning on Directory Permissions

    Hi guys-
    In my last update I got these warnings:
    warning: directory permissions differ on /usr/share/polkit-1/rules.d/
    filesystem: 700 package: 755
    warning: directory permissions differ on /var/lib/libvirt/qemu/
    filesystem: 755 package: 770
    I've seen quite a few threads floating around like these, but they just add to my confusion. I have not changed persmissions to these files. From what I've gathered so far from a few threads is that the package handler may have changed persmissions resulting in the warning messages. This is where my confusion sets in, and I don't know if it's from staring at the screen for too long, but if I cd into those directories and ls -l, there's the rules.d directory with 700:
    /usr/share/polkit-1/:
    total 8
    drwxr-xr-x 2 root root 4096 Jun 14 10:39 actions
    drwx------ 2 polkitd root 4096 Jun 16 18:31 rules.d
    However, if I cd into rules.d, there's two files in there, both with 644 permissions:
    total 8
    -rw-r--r-- 1 root root 281 Jun 1 02:17 50-libvirt.rules
    -rw-r--r-- 1 root root 488 May 12 17:11 gnome-control-center.rules
    Where's the file with 755?
    Same thing with the other wanring. There's qemu with 755. Libvirt is 755. The directory inside qemu is empty. Where's 770?
    total 36
    drwxr-xr-x 2 root root 4096 Mar 2 05:39 boot
    drwxr-xr-x 2 root root 4096 Mar 2 05:39 dnsmasq
    drwxr-xr-x 2 root root 4096 Mar 2 05:39 filesystems
    drwxr-xr-x 2 root root 4096 Mar 2 05:39 images
    drwxr-xr-x 3 root root 4096 Mar 2 05:39 lockd
    drwxr-xr-x 2 root root 4096 Mar 2 05:39 lxc
    drwxr-xr-x 2 root root 4096 Mar 2 05:39 network
    drwxr-xr-x 2 root root 4096 May 10 19:05 qemu
    drwxr-xr-x 2 root root 4096 Mar 2 05:39 uml
    Can someone help me understand this please?
    Last edited by w201 (2015-06-17 03:23:03)

    The message does indeed mean that the package maintainer has changed the permissions on those directories. You can change your directories to match or leave them as-is. I always change mine when I get messages like this. To do that in this case, you'd run:
    chmod 755 /usr/share/polkit-1/rules.d
    chmod 770 /var/lib/libvirt/qemu
    That will make your directories consistent with the new versions of the packages.

  • I have microsoft 8.1 and Adobe 11.1.06 and I get a permissions error everytime I attempt to enter da

    I have microsoft 8.1 and Adobe 11.1.06 and I get a permissions error everytime I attempt to enter data into a form. How do I get rid of this annoying message?

    Thanks for your questions. 
    1 Are these local or online documents? 
    Answer: Both they are IRS forms.  I haven't tried other forms  yet.
    2. If online, in what browser?
    Chrome does allow the fill-in with no errors.  IE doe not even  open the
    form. The error message comes up when I have saved what I did and  reopen for
    additional editing.
    3. What is the exact message you are getting?
    C:\Program Files\Common Files\microsoft  shared\ink\TabTip.exe
    Windows cannot access the specified device, path,  or file. You may not
    have the appropriate permissions to access the  item.
    Once I close the message I can enter data into the field.  When I click the
    next field or scroll the message returns.  I checked  the properties and I
    am allowed to fill in form.
    Again thanks for your response.  I did discover that  I could fill in form
    online without the error popping up, but that means I must  have all of my
    info prepared so I can do it in one session.
    Marion

  • How to get the output of Standard HR forms in PE51

    Hi Experts,
    How to get the output of standard HR forms available in PE51 Transaction for coutry grouping 99.
    Please advice.
    Regards,
    IFF

    Hi
    Use the t code for country grouping 99....PC00_M99_CEDT - Remuneration Statement. to get the variant in tcode PC00_M99_CALC_SIMU - Simulation.
    Like this test for all the standard forms, what all are the available in PE51 for country grouping 99

  • How do I get administrator permissions on my Power PC 1.4 mac?

    How do I get administrator permissions on my Power PC 1.4 mac?

    Sashakis wrote:
    Thanks So much for your response, ok then I guess what I ment to ask is , How do I get Root permissions and access to all my cumputer files. When using the Terminal it only allow me to go back so far to view my user folder but not the root folders?
    If you have admin access in your account, then in Terminal, you can go to the file root with
    cd   /  <enter>
    and then go from there.  (The single forward slash is the shorthand for the filesystem mount point.)  You should be able to a number of things otherwise blocked by using the sudo command before the normal Unix command, as in, for instance,
    sudo   touch   /System/Library/Extensions  <enter>
    which is a command which changes the modification date to the current time on the Extensions folder.  When using sudo, you will be asked for your password, and after successful authentication, the command will execute.

  • Function Module to get directory on F4

    Hello Experts,
    Is there a FM to get Directory name on selection screen when the users hit F4, kinda like "KD_GET_FILENAME_ON_F4" for getting the filename?
    Thanks.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR path.
      DATA: l_dir   TYPE string.
    * Browse the Directories
      CALL METHOD cl_gui_frontend_services=>directory_browse
    *     EXPORTING
    *       WINDOW_TITLE        =
    *      INITIAL_FOLDER       =
        CHANGING
          selected_folder      = l_dir
        EXCEPTIONS
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          OTHERS               = 4
    this is what you need i guess..

  • [SOLVED] warning: directory permissions differ on var/log/wicd/

    Hi,
    I've seen several posts about this but I couldn't really figure out what's the appropriate action. Well, anyway I get the following error message when doing a pacman -Syu
    warning: directory permissions differ on var/log/wicd/
    filesystem: 1363 package: 755
    Is it a bug? Should I change the filepermission of the directory, and if so to what?
    Last edited by OMGitsUGOD (2009-09-18 10:38:32)

    This is sort of related,
    http://bbs.archlinux.org/viewtopic.php?pid=432588
    or at least thats the post at the end has the same file permisions as I have in /var/log/wicd.
    $ ls -la /var/log/ | grep wicd
    d-wxrw--wt 2 root root 4096 2009-08-27 07:58 wicd
    I'm pretty bad at this stuff, but isn't this rather 1361 than 1363, or am I totally wrong? And why not allow theowner to read the file?
    Last edited by OMGitsUGOD (2009-09-17 08:43:32)

  • Newly Created Sub-Directories Don't Have Parent Directory Permissions

    Hoping someone may be able to shed some light on this.
    Background:
    Running 10.4.11 as a file server on a PPC G5 in a small creative office. We have a handful of users accessing via AFP. No other services are running.
    I'm using Workgroup Manager as admin tool.
    Top level directory has permissions set to Read & Write for Owner, Group & Everyone.
    Issue:
    When an authenticated user creates a new directory on the server, the new directory does not honor the parent directory permissions for all three user tiers.
    Rather, in getting info, the owner is momentarily set to the user who created the directory with read & write, then switches to (unknown) with r&w. The group is momentarily correct and then switches to (unknown) despite the creating user being part of a specific group, and has Read only permissions.
    Everyone has Read only permissions.
    If a user attempts to fix permissions on a directory they just created, they are unable to do so.
    So, throughout the course of the day, I am bombarded with "I don't have permissions...", wherein, i use remote access to hit Workgroup Manager and do a global propagation down of the parent directories permissions to allow access. Until someone else makes a directory
    This can't possibly be right. Newly created directories should be set to the parent directory permissions, if i'm not mistaken.
    Anyone? Any insight?
    Michael B.

    oh yes.. you are right... its accessible in
    http:://rishtey.local/default_1.html
    successfully... thanks for that... first of all
    now issue is: when i access http://rishtey.local/test.php which contains just a tag to display php info only...
    instead of rendering this php file, it just save the file in the download folder.
    what could be the issue with it?

  • Directory permissions differ on var/

    When upgrading packages with pacman, I've been getting a warning that "directory permissions differ on var/  filesystem 775 package 755
    This most recently was during my upgrade of xorg-server
    I'm not sure what causes this warning, or whether some action needs to be taken, and if so, which way to change things.....:(

    http://bbs.archlinux.org/viewtopic.php?id=42314

Maybe you are looking for

  • Multiple Libraries & duplicates

    I am sure that my problem is common so hopefully this post will help other people solve similar problems. It may have been answered in other posts although nothing has popped out as a clear and concise way to solve how to deal with multiple libraries

  • How can I update the BIOS without using a CD?

    Hello! I have recently decided to upgrade my RAM from 2GB to 4GB. After installing, I booted up my computer to find that it would not recognize the new memory. After doing a bit of troubleshooting, I decided to try and update the BIOS, as the version

  • Creating Dynamic Applet-Columns

    Hi I need to get data from a web-service in the form of stock-quotes and their prices.Once a user(e.g. having 5 stock-quotes)logs-in, the servlets calls the web-service and gets the values. Now these values need to be published to a Java-applet. I ha

  • Bw implementation phases

    Hi gurus,   In a bw implementation project 5 phases are there. As a bw consultant in that five phases what is our responcibilities. points will be assigned. Thanku

  • Depreciation calculated wrongly

    Hi guru's,     we are using SLM method and given 33.33% dep.but system calculating 33.2895% for this depreciation amount not matching with user file.any one tell me why this happen? Thanks Ravi