Programming :: Permissions Denied With Perl/cgi Script?
Feb 23, 2010
My /usr/lib/cgi-bin/script.cgi must create a directory in my /home/myname directory, but in firefox appears:Quote:Software error:Cannot mkdir: Permission denied at /usr/lib/cgi-bin/script.cgi line 17.For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error
View 3 Replies
ADVERTISEMENT
Jun 8, 2010
I have three partitions. One for each: Windows, Debian and my files. I wanted a partition available in all systems, so I created FAT32 and mounted it as /data and drive D. In linux I created symlinks in my /home folder to /data/documents/xxx/xxx. I wanted to save my projects on that partition, but in every IDE I tried I get the permission denied error.
Screenshot
What should I do to make /data writable for IDEs? As normal user I have full access to it.
View 9 Replies
View Related
Jan 18, 2010
dave@dave:/var/spool/cron$ sudo dir crontabs
[sudo] password for dave:
dave root
dave@dave:/var/spool/cron$ ls -l
total 12
drwxrwx--T 2 daemon daemon 4096 2009-10-28 16:02 atjobs
drwxrwx--T 2 daemon daemon 4096 2009-09-15 08:09 atspool
drwx-wx--T 2 root crontab 4096 2010-01-18 10:39 crontabs
dave@dave:/var/spool/cron$ cd crontabs
bash: cd: crontabs: Permission denied
dave@dave:/var/spool/cron$ sudo cd crontabs
sudo: cd: command not found
Is this caused by something I have set wrong? I can successfully do:
Code:
sudo cat crontab/dave
View 4 Replies
View Related
Apr 17, 2009
Just started using Fedora 10 and having a problem with evolution address book.I have checked the permissions on 'system' but they seem ok - owner was set to rwx, I changed the other permissions just to check but still get the error.Not sure what to check now as it claims its a permission error but the permissions seem ok.
View 9 Replies
View Related
Oct 28, 2009
I installed apache and all is well until I had to add pages to /var/www/httpd and permissions are dinied.
View 1 Replies
View Related
Nov 16, 2010
I just converted to Fedora from Ubuntu and I have some questions:
1. How can I install nvidia driver? There is no 'jockey-gtk' in my fedora :3 (video card is nvidia 7200GS)
2. whats the equivalent for 'ubuntu-restricted-extras' in fedora? (ubuntu-restricted-extras is a package for A/V codecs, Java, microsoft fonts and Flash plugin)
3. I just move data from other hard disk to the fedora ones and now all the folders are locked (lock icon).
I try with:
su
chown -R fedora:fedora /home/fedora
but the permissions are denied for gvfs.
View 4 Replies
View Related
Jan 11, 2011
I'm trying to create a folder using the archive manager to install Resin (web server) in the usr/local folder but I get the error message 'error creating directory: Permission denied.'
Is this the easiest way to install an app--by using the Archive Manager--and if so how do I establish the correct permissions.
View 1 Replies
View Related
Jul 27, 2011
My Torrents will not start due to a "Permissions denied" error.The folders with the files being download have it set 777, so I'm thinking it's something else.When I look at the auth log, It does appear that it is that folder causing the issue.I can keep guessing the cause of permissions, but I do not know how to trace the problem.
View 1 Replies
View Related
May 24, 2010
i just installed RHEL 5, when iam trying to create a directory or file it is not creating ...
View 7 Replies
View Related
Jul 8, 2011
I have a problem with sshfs. I want to share a binary with some others computers, but i only want them to be able to execute (no read/write ). So, on my main server, I chown root:root bin & chmod 701 bin. That work nicely on main server, local users can execute bin w/o read/write ... But when I mount directory using sshfs, users cant exec/read/write ...
SSHFS version 2.2
FUSE library version: 2.8.4
fusermount version: 2.8.4
using FUSE kernel interface version 7.12
View 9 Replies
View Related
Oct 10, 2010
I mount a partition to a directory and ls -liah tells me that everyone has read/write/execute permissions on the whole thing, but I try to save a file into the partition and I get an access denied error. First of all this doesn't make sense because ls is telling me I do have access.
Then it gets weirder. I run sudo chown -R me:me directory. The command exits without error, but then when I go and look at the directory again with ls, it still shows up as owned by root and I still have the same problem. This is particularly strange because I am still able to change permissions normally in the operating system filesystem. It just won't work on the mounted partition.
View 1 Replies
View Related
Jul 21, 2010
Where is the perl module for programming with sockets?
View 4 Replies
View Related
Feb 5, 2010
So I wanted to replace my password prompt with this:it says to write it over the system files in ubuntu, under usr/share/gnome-screensaverbut i cant do that, as it says permissions are denied...
View 2 Replies
View Related
May 9, 2010
I just downloaded Tk-804.028 and try to install it (according to the README.linux) but I get:
> perl Makefile.PL
/opt/ActivePerl-5.10/bin/perl-static is installed in /opt/ActivePerl-5.10/lib okay
PPM for perl5.010001
Test Compiling config/perlrx.c
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c
[code]...
View 5 Replies
View Related
May 18, 2011
Any recommendations on what Perl tutorial to use?
View 1 Replies
View Related
Jan 30, 2010
I am taking an input from the user for free and Used capacity in a disk. I wish to convert Input entered in MBTB to GB and this is how i am doing it.
Code:
<some code>
print "Enter Total disk space";
$tot = <STDIN>;
convert($tot);
[code]...
how do i pass the value of conv[0] after conversion back to $tot or $use such that they contain only value which is in GB?
View 3 Replies
View Related
Jul 24, 2010
I really would like Perl Qt4 bindings. The best I could find is this:[URL]The problem is that the sources would not compile, and the RPMs are for 32-bit machines.Is there really no such thing as good Perl Qt4 bindings?
View 8 Replies
View Related
Mar 27, 2011
I am a newbie on linux and just searching everything about perl scripting and modules nearly 3-4 days. I need a perl script but one of not easy to find on searching google. Okay now I need a perl script which create or recreate (edit) id3 tags (artist, comment, album, year, cover) of mp3 files stored on my linux centos server. I installed MP3::Tag version 1.13 pearl module to my server. I Searched tutorials about how to use it, finally I get through reading id3 tag of mp3 file but not achieve to modify it or create a new id3tag.
These are the details:
I have a mp3 file called 1.mp3 this script will process that '1.mp3' file read its id3tag if there is one, than modify or create id3tag for it by my fix artist name for example:
'1.mp3' files id3 tag details are like this
Artist: Dj xx
Year:2010
Title:yyyyy
Comment:eerwer
Cover: x.jpg
Now via this perl script which uses MP3::TAG I will change it's
artist as YYY
Title:ttt
Comment:cool
Cover:t.jpg
these are gonna be my fixed values. I mean all '1.mp3' file will have same artist based on script value.
The reason of this script is I will share Dj podcasts on my server and Dj's would have upload their mp3's which has got different id3 tags and cover pics. etc. I want to create more organized podcasts of them by the way I would trigger this perl script via Cronjob.
View 14 Replies
View Related
Mar 31, 2010
How can I generate a md5 or sha-1 code with perl?
View 2 Replies
View Related
Apr 1, 2010
As some of you know that I am new to this forum. I have another problem that I got stuck on. I have this file called "Fib.rbb" and my instructor told us to write an interpreter program by using Fib.rbb.
"You are to write an interpreter in Perl for Rongs Basic Basic (RBB) as explained in class. The BNF description for RBB and a test file called Fib.rbb are part of the RBB.zip file which is available in the Course Documents folder on blackboard. If you call your interpreter myIntp.pl, you would execute the program via perl myIntp.pl Fib.rbb
Code: Print "A few Fibonacci numbers:"
View 3 Replies
View Related
Mar 9, 2011
Just installed Fedora 14. I wanted to try "Hello World" with perl. But where is it?
Code: [user]@user bin]$ ls
View 1 Replies
View Related
May 23, 2011
Im somewhat new at perl and was wondering if there was a way to run a perl script or tool made from perl, from a USB pen that would work both on Linux and on Windows?
View 1 Replies
View Related
Jan 16, 2010
I writed my home.html page in /var/www with following form:
Quote:
<form action="/cgi-bin/login.cgi" method="get" class="form-font">
<label>Already you registered?</label><br/><hr/><br/>
<fieldset><br/>
<legend>Insert your account</legend>
Email: <input type="text" name="email"/><br/><br/>
[Code].....
View 2 Replies
View Related
Jun 8, 2010
I'm the server guy which is why I don't know this, but were staging a new webserver and we use some custom perl scripts and as were moving the site over for testing, apache is blowing a perl error;Can't locate web.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/mcp/htdocs/cgi-bin/newgraph.gif line 11.,Now I can copy that file local, but there are a bunch of things, so the question is how do you globally add a folder to the perl search path
View 1 Replies
View Related
Sep 16, 2010
I have a debian lenny machine that I am trying to add mod_perl to and use apache asp on. I have had a range of failures on it. Is ther a way I can build apache2 with mod_perl in it? Instead of separate. Apache2 is built with some modules built in by default, how can I make mod_perl one of them?
View 1 Replies
View Related
Oct 9, 2009
I would like to ask opinion from perl experts.
I want to compare 2 files and show the differences in a text file.
For example, if i open File A an B in notepad
File A:
File B:
Quote:
line3 is missing in File B
So if I did a File compare (line by line), the differences will be in line3, line4, line5, line 6.
But I dont want it to be like that.
I want it to be like this
Quote:
Can Text:: Diff able to perform the work.
View 1 Replies
View Related
Jun 1, 2010
Using given program , i am able to print current date but is is possible to print last n no. of date. For example i want to print last three date staring from today. so o/p should be like
2010-06-02
2010-06-01
2010-05-31
Code:
my $myTimeStamp = "";
sub _timestamp
{
[Code]...
View 1 Replies
View Related
Jul 24, 2010
How do I download a file to a specified location on disk in Perl?I tried doing a few web searches but suprisingly couldn't find anything.
View 4 Replies
View Related
May 12, 2010
I writed Quote:
#!/usr/bin/perl -w
use Error qw(:try);
try {
[code]....
View 1 Replies
View Related
Aug 19, 2010
What is the difference in perl between:
'function();'
and
'&function();'
with and without ampersand.
View 1 Replies
View Related