05-17-2011
Run the gnome instance as root, or change your user account.
Did you create a tar backup? That preserves original permissions.
You will problably have to tink around, first, reset file ownerships to the original.
Next grant yourself group 0 (root root == uid 0 group 0). Your account should then access the files just fine. Be aware that this will affect file sharing with other accounts when you create an file in some other app. You may want two user accounts that can sudo su - [accountname] to each other. One with group 0, one without.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I'm new to unix -solaris.
I've just upgraded a third party software product and am testing
it to see if new files created in a test database directory were being created properly and they aren't. They're owned by the user that created the file, instead of poppa and the group of their files... (2 Replies)
Discussion started by: avisb
2 Replies
2. Cybersecurity
please tell me if this thinkin is correct, if not, please corret me:
disaster recovery means when something bad happens and you need to retrieved a backed up file, all you have to do is cd into the tape drive and then look for the file you want and extract it from the drive.
is this... (3 Replies)
Discussion started by: TRUEST
3 Replies
3. UNIX for Dummies Questions & Answers
how i could give to user permission(delete,execute and so on) and ownership to files?
Thanks (1 Reply)
Discussion started by: ithost
1 Replies
4. UNIX for Advanced & Expert Users
Can anyone tell me of what to expect? I've been nominated to join a team of unix admins to do a DR testing. we already have the guys who are gono be doing the restores. besides the restore, anybody know what else to look forward to?? (2 Replies)
Discussion started by: TRUEST
2 Replies
5. Solaris
Recovering Solaris to an alternate server
I was just wondering if anyone could give me some points on restoring a Solaris 9 backup to an alternate server. Basically, we use netbackup 6 and I was wondering what the best procedures are for doing this? What things do we need to take into... (3 Replies)
Discussion started by: aaron2k
3 Replies
6. UNIX for Dummies Questions & Answers
Whenever I create a new file the group name is "dnn" and the file permissions are "-rw-r--r--".
How do I get it so when I create files (with vi or other programs) that the default group is "sss" and the permissions are 770?
(I am running HP-UNIX)
Thanks,
GoldFish (2 Replies)
Discussion started by: goldfish
2 Replies
7. UNIX for Advanced & Expert Users
Hi,
Within a SQL file i am calling 5 shell scripts in back ground and redirecting their outputs to different log files in a specific directory.
Now when I observed is, the log files are created with different permissions even though i did not do any thing specific.
For example in... (2 Replies)
Discussion started by: steria_learner
2 Replies
8. UNIX for Dummies Questions & Answers
Hello All,
I am application admin. I need to clear all the temporary files cleared by the applications. I need help/suggestion that is there any way to create a file system such that every Dir created in by any user will have 775 permissions. So, that i can simply clear the temporary file which... (6 Replies)
Discussion started by: firestar
6 Replies
9. Shell Programming and Scripting
Hi,
I have used expdp for datapump. The .dmp file is created by the "oracle" user.
my requirement is to make a zipped file of this .dmp file.
What i am trying to do is change the permissions of this .dmp file from 0640 to 0644 and then do a gzip and zip it. Is there any way i can change... (3 Replies)
Discussion started by: qwertyu
3 Replies
10. Red Hat
Hello All,
I have an application that creates the log files and they created with 600 permissions instead of 644(default). How can I set the permissions so that files can be created with 644. I looked into the /etc/profile for the umask settings and it is set 002(if UID>199). And when I type... (5 Replies)
Discussion started by: s_linux
5 Replies
LEARN ABOUT DEBIAN
amazon::sqs::simple
Amazon::SQS::Simple(3pm) User Contributed Perl Documentation Amazon::SQS::Simple(3pm)
NAME
Amazon::SQS::Simple - OO API for accessing the Amazon Simple Queue Service
SYNOPSIS
use Amazon::SQS::Simple;
my $access_key = 'foo'; # Your AWS Access Key ID
my $secret_key = 'bar'; # Your AWS Secret Key
# Create an SQS object
my $sqs = new Amazon::SQS::Simple($access_key, $secret_key);
# Create a new queue
my $q = $sqs->CreateQueue('queue_name');
# Send a message
$q->SendMessage('Hello world!');
# Retrieve a message
my $msg = $q->ReceiveMessage();
print $msg->MessageBody() # Hello world!
# Delete the message
$q->DeleteMessage($msg->ReceiptHandle());
# Delete the queue
$q->Delete();
INTRODUCTION
Amazon::SQS::Simple is an OO API for the Amazon Simple Queue Service.
IMPORTANT
This version of Amazon::SQS::Simple defaults to work against version 2009-02-01 of the SQS API.
Earlier API versions may or may not work.
CONSTRUCTOR
new($access_key, $secret_key, [%opts])
Constructs a new Amazon::SQS::Simple object
$access_key is your Amazon Web Services access key. $secret_key is your Amazon Web Services secret key. If you don't have either of these
credentials, visit <http://aws.amazon.com/>.
Options for new:
Timeout => SECONDS
Set the HTTP user agent's timeout (default is 180 seconds)
Version => VERSION_STRING
Specifies the SQS API version you wish to use. E.g.:
my $sqs = new Amazon::SQS::Simple($access_key, $secret_key, Version => '2008-01-01');
METHODS
GetQueue($queue_endpoint)
Gets the queue with the given endpoint. Returns a "Amazon::SQS::Simple::Queue" object. (See Amazon::SQS::Simple::Queue for details.)
CreateQueue($queue_name, [%opts])
Creates a new queue with the given name. Returns a "Amazon::SQS::Simple::Queue" object. (See Amazon::SQS::Simple::Queue for details.)
Options for CreateQueue:
DefaultVisibilityTimeout => SECONDS
Set the default visibility timeout for this queue
ListQueues([%opts])
Gets a list of all your current queues. Returns an array of "Amazon::SQS::Simple::Queue" objects. (See Amazon::SQS::Simple::Queue for
details.)
Options for ListQueues:
QueueNamePrefix => STRING
Only those queues whose name begins with the specified string are returned.
FUNCTIONS
No functions are exported by default; if you want to use them, export them in your use line:
use Amazon::SQS::Simple qw( timestamp );
timestamp($seconds)
Takes a time in seconds since the epoch and returns a formatted timestamp suitable for using in a Timestamp or Expires optional method
parameter.
STANDARD OPTIONS
The following options can be supplied with any of the listed methods.
AWSAccessKeyId => STRING
The AWS Access Key Id to use with the method call. If not provided, Amazon::SQS::Simple uses the value passed to the constructor.
SecretKey => STRING
The Secret Key to use with the method call. If not provided, Amazon::SQS::Simple uses the value passed to the constructor.
Timestamp => TIMESTAMP
All methods are automatically given a timestamp of the time at which they are called, but you can override this value if you need to. The
value for this key should be a timestamp as returned by the Amazon::SQS::Simple::timestamp() function.
You generally do not need to supply this option.
Expires => TIMESTAMP
All methods are automatically given a timestamp of the time at which they are called. You can alternatively set an expiry time by
providing an Expires option. The value for this key should be a timestamp as returned by the "Amazon::SQS::Simple::timestamp()" function.
You generally do not need to supply this option.
ACKNOWLEDGEMENTS
Bill Alford wrote the code to support basic functionality of older API versions in release 0.9.
AUTHOR
Copyright 2007-2008 Simon Whitaker <swhitaker@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-03-31 Amazon::SQS::Simple(3pm)