Mounted to mac, doesn't show DIR contents on first 'ls'


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mounted to mac, doesn't show DIR contents on first 'ls'
# 8  
Old 12-11-2013
The problems probably aren't related, I think. How are you running the script if not from a terminal?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Why ls doesn't show catalog contents after mount (needed "cd .")?

Before I did mount /dev/sdc1 /mnt/ll xsi ll # ls xsi ll # cd . xsi ll # ls NEWGAME.GM2 install md5sum.txt syslinux.cfg ubnkern .... (1 Reply)
Discussion started by: Xcislav
1 Replies

2. UNIX for Dummies Questions & Answers

Why doesn't motd show up when I su to root?

When I do sudo -i isn't that like creating a root login shell session? Why isn't motd displayed? motd=message of the day. ---------- Post updated at 09:54 AM ---------- Previous update was at 09:25 AM ---------- I think I answered it myself, it is only called for remote login sessions, once... (2 Replies)
Discussion started by: glev2005
2 Replies

3. Emergency UNIX and Linux Support

Grub Doesn't show menu

Hi guys. I have installed Acronis disk director in windows XP and allocate some free space to install Debian beside fedora. after completion i rebooted and now grub is in command line mode and does not show the menu list. (I didn't remove the fedora partition. I just allocate some space from... (1 Reply)
Discussion started by: majid.merkava
1 Replies

4. UNIX for Advanced & Expert Users

Compiling VIM, doesn't show menu and toolbar.

I'm trying to compile vim73 with the Motif Toolkit. ./configure --enable-gui=motif make ./src/vim -g Vim runs in a window, without the standard toolbar and menu bar. I tried to recompile with ./configure --enable-gui=gnome2It compiled with GTK2 toolkit, but still no menubar, nor toolbar.... (0 Replies)
Discussion started by: mghis
0 Replies

5. UNIX for Dummies Questions & Answers

Will this show contents of file

Hi Team, I have a couple of questions. I happen to come across a code like this which i was asked to trouble shoot. Any idea what these two do? 1. cat $(file?File doesn't exist); 2. mydir=/home/user/axa032; echo $(mydir-/home/a2self); Can some one help me with this ? ... (2 Replies)
Discussion started by: kinny
2 Replies

6. Homework & Coursework Questions

Command Doesn't Show Description

im making c code in linux and im having problems with one command, id should bring up a list but instead id doesnt do nothing, there are no error's, can anyone solve whats wrong ? void environ() { extern char **environ; int i=0; for (i = 0; environ !=NULL;i++) { ... (1 Reply)
Discussion started by: figureout
1 Replies

7. IP Networking

Traceroute doesn't show gateway as hop

I have a Linux server connected to the Internet like so: Server (66.77.88.130) -> /29 VLAN Gateway (66.77.88.129) -> Core Router (64.0.0.1) -> Internet If I run a traceroute from my server to an arbitrary site on the internet I get a result like this: # traceroute some-other-server... (2 Replies)
Discussion started by: ramnet
2 Replies

8. HP-UX

ksh : permission denied on mounted dir

Hello, I have the following problem. I made a directory /mnt/appserv and mounted it on a windows server. The line in /etc/fstab to do this is the following : winoracle:/environments10g /mnt/appserv cifs defaults 0 0 I have mounted this dir as root-user. The rights on the directory are... (1 Reply)
Discussion started by: bdb78451
1 Replies

9. Post Here to Contact Site Administrators and Moderators

My sig doesn't show

Is there an issue with it? (2 Replies)
Discussion started by: Spetnik
2 Replies
Login or Register to Ask a Question
MAC_IS_PRESENT(3)					   BSD Library Functions Manual 					 MAC_IS_PRESENT(3)

NAME
mac_is_present -- report whether the running system has MAC support LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/mac.h> int mac_is_present(const char *policyname); DESCRIPTION
The mac_is_present() function determines whether the currently-running kernel supports MAC for a given policy or not. If policyname is non-NULL, the presence of the named policy (e.g. ``biba'', ``mls'', ``te'') is checked, otherwise the presence of any MAC policies at all is checked. RETURN VALUES
If the system supports the given MAC policy, the value 1 is returned. If the specified MAC policy is not supported, the value 0 is returned. If an error occurs, the value -1 is returned. ERRORS
[EINVAL] The value of policyname is not valid. [ENOMEM] Insufficient memory was available to allocate internal storage. SEE ALSO
mac(3), mac_free(3), mac_get(3), mac_prepare(3), mac_set(3), mac_text(3), mac(4), mac(9) HISTORY
Support for Mandatory Access Control was introduced in FreeBSD 5.0 as part of the TrustedBSD Project. BSD
July 7, 2006 BSD