11-24-2009
oops apologies its early for me - of course you're right
maybe extended attributes set (check with ls -U) or problems with your userid ... I have seen what you're experiencing when copying a file from a box with the same user having another userid ... or when the directory was exported. If you're running AIX 6.1 with RBAC maybe this is preventing you from doing what you want.
Kind regards
zxmaus
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
I just started computer science at UW Milwaukee. When I access the university Solaris system from PuTTY, I get permission denied when I try to access the file I wrote. Now I really have no idea what I'm doing, I just don't understand why I get permission denied in my won directory. Thank You
... (0 Replies)
Discussion started by: howeezy
0 Replies
3. UNIX for Advanced & Expert Users
Hi,
when I launch my perl script, I write on the shell:
perl x.pl
How I can can change the permission to write only:
x
to launch the program? (2 Replies)
Discussion started by: Minguccio75
2 Replies
4. UNIX for Advanced & Expert Users
Hi,
I can not execute a .env file
$ . /Data/oracle/d03/mydbora/8.0.6/MYDB.env
-bash: /Data/oracle/d03/mydbora/8.0.6/MYDB.env: Permission denied
Even if :
-rwxrwxrwx 1 oracle dba 2903 Mar 5 2007 /Data/oracle/d03/mydbora/8.0.6/MYDB.env
Please help.
Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies
5. UNIX for Dummies Questions & Answers
I'll start off by saying that I know very little about Unix - however, I do know that I have a .profile file in my home directory, and that I should be able to invoke it by typing . profile. However, when I do this for ANY .filename, I get ".: Permission denied". I'm pretty sure that there is... (12 Replies)
Discussion started by: bbersani
12 Replies
6. UNIX for Dummies Questions & Answers
I would like to copy data from local mechine to cluster. Basically, I typed
scp -r DVD/ acount@cluster:/
it shows Permission denied.
Could anyone please give me a clue to write permission on cluster, please?
The poperty of where on cluster I'd like to put is drwxr-xr-x
Any idea would... (1 Reply)
Discussion started by: su_in99
1 Replies
7. UNIX for Dummies Questions & Answers
After creating a user account...how do i verify if theres only read access on the account.
If not read access would i enter chmod a-xw "username"? (2 Replies)
Discussion started by: bigben1220
2 Replies
8. Shell Programming and Scripting
Hi,
I have a typical problem. Consider the scenario:
Folder1
------> Folder2 ------> File1
------> Folder3
Above is my folder structure, currently the user group "other" has no permissions. I wish to give "read" permission for "others" to File1 using a single command.
chmod -R... (5 Replies)
Discussion started by: animesh303
5 Replies
9. 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
10. Red Hat
I have a RHEL 5.7 system with a cifs mount from a Windows 2007 file server that I need to fix the permissions on. Once the share is mounted the permission for the mount are 777. I need to change that to 770 on the top level directory and to 640 on the sub-directory .ssh/. But when I run chmod... (0 Replies)
Discussion started by: westmoreland
0 Replies
LEARN ABOUT DEBIAN
net::xmpp::jid
Net::XMPP::JID(3pm) User Contributed Perl Documentation Net::XMPP::JID(3pm)
NAME
Net::XMPP::JID - XMPP JID Module
SYNOPSIS
Net::XMPP::JID is a companion to the Net::XMPP module.
It provides the user a simple interface to set and retrieve all
parts of a Jabber ID (userid on a server).
DESCRIPTION
To initialize the JID you must pass it the string that represents the
jid from the XML packet. Inside the XMPP modules this is done
automatically and the JID object is returned instead of a string.
For example, in the callback function for the XMPP object foo:
use Net::XMPP;
sub foo {
my $foo = new Net::XMPP::Foo(@_);
my $from = $foo->GetFrom();
my $JID = new Net::XMPP::JID($from);
.
.
.
}
You now have access to all of the retrieval functions available.
To create a new JID to send to the server:
use Net::XMPP;
$JID = new Net::XMPP::JID();
Now you can call the creation functions below to populate the tag
before sending it.
Retrieval functions
$userid = $JID->GetUserID();
$server = $JID->GetServer();
$resource = $JID->GetResource();
$JID = $JID->GetJID();
$fullJID = $JID->GetJID("full");
$baseJID = $JID->GetJID("base");
Creation functions
$JID->SetJID(userid=>"bob",
server=>"jabber.org",
resource=>"Work");
$JID->SetJID('blue@moon.org/Home');
$JID->SetUserID("foo");
$JID->SetServer("bar.net");
$JID->SetResource("Foo Bar");
METHODS
Retrieval functions
GetUserID() - returns a string with the userid of the JID.
If the string is an address (bob%jabber.org) then
the function will return it as an address
(bob@jabber.org).
GetServer() - returns a string with the server of the JID.
GetResource() - returns a string with the resource of the JID.
GetJID() - returns a string that represents the JID stored
GetJID("full") within. If the "full" string is specified, then
GetJID("base") you get the full JID, including Resource, which
should be used to send to the server. If the "base",
string is specified, then you will just get
user@server, or the base JID.
Creation functions
SetJID(userid=>string, - set multiple fields in the jid at
server=>string, one time. This is a cumulative
resource=>string) and over writing action. If you set
SetJID(string) the "userid" attribute twice, the second
setting is what is used. If you set
the server, and then set the resource
then both will be in the jid. If all
you pass is a string, then that string
is used as the JID. For valid settings
read the specific Set functions below.
SetUserID(string) - sets the userid. Must be a valid userid or the
server will complain if you try to use this JID
to talk to the server. If the string is an
address then it will be converted to the %
form suitable for using as a User ID.
SetServer(string) - sets the server. Must be a valid host on the
network or the server will not be able to talk
to it.
SetResource(string) - sets the resource of the userid to talk to.
AUTHOR
Ryan Eatmon
COPYRIGHT
This module is free software, you can redistribute it and/or modify it under the LGPL.
perl v5.14.2 2012-11-06 Net::XMPP::JID(3pm)