04-11-2011
Any help with this? This is an unexpected behavior. I checked if selinux would be causing this issue - but selinux is disabled on this server.
Any ideas would be of great help!
Thanks!
Satish
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Could someone tell me why I am getting a permission denied message when I attempt to run this on an out file? Thanks! (8 Replies)
Discussion started by: trouscaillon
8 Replies
2. UNIX for Dummies Questions & Answers
Anyone know how I can map a windows drive to an apache shared drive?
In my httpd.conf file, I have:
Alias /merc_rpts/ "/u/merc_rpts/"
<Directory "/u/merc_rpts">
Options Indexes
</Directory>
I'm able to bring up a browser and see the contents of this folder.
In... (0 Replies)
Discussion started by: gseyforth
0 Replies
3. Shell Programming and Scripting
hello
I m trying to enter in a folder through my script but getting permission denied error ..
Is there any command or somthing else so that i can access these folder through my script. (3 Replies)
Discussion started by: urfrnddpk
3 Replies
4. Shell Programming and Scripting
I created a user so that when he logs in he will be directed to a menu
/etc/passwd
user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh
However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:... (4 Replies)
Discussion started by: lhareigh890
4 Replies
5. Linux
Hi,
I am trying to install RT 4.0.4 on Centos 6. I am almost done with the installation. However, when i try to start my web server (Apache - user: apache, group: apache) i get the following error:
Starting httpd: : (in cleanup) Error while loading /opt/rt4/sbin/rt-server: Cannot create... (0 Replies)
Discussion started by: rtipx_user
0 Replies
6. AIX
I have the following problem on my AIX 6.1 server.
I logged in with Root ID to this folder etc/opt/symantec/scspagent/lib/instfunlib I try changing the folder permission but I keep getting this output :
chmod: /opt/symantec/scspagent/lib/instfunlib: Permission Denied
I did a listing on it... (3 Replies)
Discussion started by: mcdsweet98
3 Replies
7. Solaris
Hi All,
i have two accounts with acl permissions. I need to provide read access to both users. for one user s109552
"cd" is not working.
drwxrws---+ 8 cvsadmin reto 1024 Aug 23 2011 reto
su5sr117# su - s109553
$ bash
bash-3.2$ cd /rep/reto
bash-3.2$ pwd <-------- it... (2 Replies)
Discussion started by: Naveen.6025
2 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
Can any one help me on this.
I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive?
Regards,
LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
9. UNIX for Dummies Questions & Answers
when i run echo "User” > /dev/tty5 why do i get permission denied? :confused: (2 Replies)
Discussion started by: chinababy
2 Replies
10. Ubuntu
Trying to get date into the txt file.
It says
Permission denied.
echo $(date +%I:%M:%S_%D) >> /tmp/systemd_suspend_test_err.txt
exec 2>> /tmp/systemd_suspend_test_err.txt
if ; then
# Do the thing you want before suspend here
echo "we are suspending $(date +%I:%M:%S_%D)."
elif ;... (5 Replies)
Discussion started by: drew77
5 Replies
LEARN ABOUT DEBIAN
getfscreatecon
getfscreatecon(3) SELinux API documentation getfscreatecon(3)
NAME
getfscreatecon, setfscreatecon - get or set the SELinux security context used for creating a new file system object.
SYNOPSIS
#include <selinux/selinux.h>
int getfscreatecon(security_context_t *con);
int setfscreatecon(security_context_t context);
DESCRIPTION
getfscreatecon retrieves the context used for creating a new file system object. This returned context should be freed with freecon if
non-NULL. getfscreatecon sets *con to NULL if no fscreate context has been explicitly set by the program (i.e. using the default policy
behavior).
setfscreatecon sets the context used for creating a new file system object. NULL can be passed to setfscreatecon to reset to the default
policy behavior. The fscreate context is automatically reset after the next execve, so a program doesn't need to explicitly sanitize it
upon startup.
setfscreatecon can be applied prior to library functions that internally perform an file creation, in order to set an file context on the
objects.
Note: Signal handlers that perform an setfscreate must take care to save, reset, and restore the fscreate context to avoid unexpected
behavior.
RETURN VALUE
On error -1 is returned. On success 0 is returned.
SEE ALSO
selinux(8), freecon(3), getcon(3), getexeccon(3)
russell@coker.com.au 1 January 2004 getfscreatecon(3)