Ubuntu :: Bash CD Crontabs - Why Permissions Denied

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


ADVERTISEMENT

Ubuntu Installation :: Folder Creation Permissions Denied?

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

Ubuntu :: Torrents Will Not Start Due To 'Permissions Denied' Error

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

Programming :: Getting Permissions Denied Error In Every IDE

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

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 View Related

Ubuntu :: Permissions - Save A File Into The Partition And Get An Access Denied Error

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

Fedora :: Evolution Address Book Permissions Denied

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

Fedora Servers :: Add Pages To /var/www/httpd And Permissions Denied

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

Fedora :: Permissions Denied For GVFS - All Folders Locked

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

General :: Create A Folder Or Directory If Permissions Are Denied?

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

Software :: SSHFS - Permissions Denied On Mounted Directory

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

Ubuntu :: Bash: Permission Denied

Mar 27, 2010

I tried to execute the following command: $ ./eval_online_wiki.ml -db_user aa -db_pass bb -db_name cc It returned as follows: bash: ./eval_online_wiki.ml: Permission denied What does this mean? How to solve the problem? Actually, I was following a README, and it says "$ ./eval_online_wiki -db_user <username> -db_pass <pwd> -db_name <db_name>"

View 2 Replies View Related

Ubuntu :: Bash: /proc/sys/vm/drop_caches: Permission Denied

Aug 10, 2010

I've been using Digikam and it's a huge blow to my system memory. Even after quitting I still feel my computer to be slightly slower. I tried running the commands from [URL] but I get this instead

bash: /proc/sys/vm/drop_caches: Permission denied

View 4 Replies View Related

CentOS 5 :: -bash: /dev/st0: Permission Denied?

Jan 2, 2009

I'm trying to run a backup using CPIO to an LTO2 tape in an HP Ultrium 460 drive using the following:find / -path /proc -prune -o -print | cpio -o -H crc --block-size=128 > /dev/st0Each time I get the error:-bash: /dev/st0: Permission deniedThis is regardless of whether I sudo the two sides of the command or not. I have used dd if=/dev/st0 of=/tmp/test.file ibs=128k count=1 to verify the blocksize (and since I was a little confused about block-size in cpio I also tried --block-size=256)

View 5 Replies View Related

Fedora :: Could Not Exec /bin/bash Permission Denied?

Sep 24, 2010

trouble when I log in the fedora as a normal user(not root) today. When I fill the username and the password press enter key. Then pop up a little window locate at topleft corner. And have one line message : "/usr/bin/xterm : Could not exec /bin/bash : Permission Denied"hen I log in as root, it's ok. And when I open shell and type "su username" then the console print "su: /bin/bash: Permission denied"I have checked the perms of "/bin/bash" , it's 755. And I have tried all things which suggested from articles searched through Google. like change / or /root and other directory's permissions but failed

View 4 Replies View Related

General :: Bash: /etc/ld.so.conf: Permission Denied?

Sep 10, 2010

If I run this as su I get the same thing. If I log on as root user It is the same as well

View 5 Replies View Related

General :: -bash: ./PE1650_RAID_FRMW_LX_R168387.BIN: Permission Denied?

Aug 24, 2010

[root@mail tmp]# ./PE1650_RAID_FRMW_LX_R168387.BIN-bash: ./PE1650_RAID_FRMW_LX_R168387.BIN: Permission deniedalso get it when trying to run[root@mail tmp]# ./ESM_FRMW_LX_A37_R117418.BIN-bash: ./ESM_FRMW_LX_A37_R117418.BIN: Permission denied

View 2 Replies View Related

Programming :: [Bash] Denied Script * Opinion's Welcome *?

Jan 30, 2011

wrote a simple script that will Parse Secure log find the failed login attempts, and strip out the IP Address. Then take those address and create a file listing them. Thx to colucix for the awk understanding which is then fed into Nmap grabbing OS and Ports that are open on that remote machine -> output is shoved threw Sed only grabbing the Characteristics I felt were need. The output from that is piped into another Directory called Nmap/ and files are created with the output and ipaddress for the file name;

Then that same list that was fed into Nmap is fed into Whois and output is shoved into SED striping out the non-sense getting only valuable info. Those are then put into the Whois/ with the file names being the IP Address and whois info dumped into them.There are lots of paths I can go to continue the chain with all this info... But for now it just merges the Whois Info and Nmap Info into a Master File which is then fed to ssmtp to send an email with the Info to whatever address you like.Put it in a cron job, and it executes every night at 11pm with the secure log being rotated out at 1105pm. Cycle is then repeated. Like I said this is really my first Bash Script.

I have done Batch script with, remote printer mappings, and default printer setups. But thats here nor thereWhat I am really looking for since this script is functional, is your criticism and your technique on another way of accomplishing the objective your critiquing. Just trying to build my skills and look at this process from another perspective.

Code:
echo 'Grabbing the IPs'
# Grabbing IP's from secure log, putting them in the ip array, and then spiting out the

[code]....

View 10 Replies View Related

Server :: How To Look Through All Users Crontabs

Mar 3, 2010

there are at least a dozen users who have a crontab with stuff running. Is there a way to look at all the crontabs at once? right now i just keep doing a su to whichever user, then do a crontab -l.but i need to check what looks like 100 more users, and hoping there's a way to save me from manually having to do this for every single one of them.

View 9 Replies View Related

General :: New DSL Install - Reboot - Now -bash Permission Denied ?

Dec 16, 2009

Firstly, i'm NEW to Linux and my very first time with DSL. I'm installing this on an older Dell Latitude laptop.

I just finally got the DSL installed on my HDD successfully and then I added feh to start and run at start up, then I rebooted and now i'm getting this error:
No, directory, logging in with HOME=/ -bash: cd: /home/dsl: Permission denied

I have tried reading numerous websites but none explains to the level whereby I can understand. I even tried rebooting from the CD, but could not figure out how/what to do next?

The question is, can someone explain how I can use the DSL CD to try to correct this error. More importantly, can you explain in layman terms so that I can actually put it good use.

Also, some additional questions I have....when you download a file where does it save to?

View 6 Replies View Related

General :: /usr/bin/xterm: Could Not Exec /bin/bash: Permission Denied

Sep 24, 2010

I'm in trouble when I log in the fedora as a normal user(not root) today. When I fill the username and the password press enter key. Then pop up a little window locate at top left corner. And have one line message : "/usr/bin/xterm : Could not exec /bin/bash : Permission Denied" Then I log in as root, it's ok. And when I open shell and type "su username" then the console print "su: /bin/bash: Permission denied" I have checked the perms of "/bin/bash" , it's 755. And I have tried all things which suggested from articles searched through Google. like change / or /root and other directory's permissions but failed.

Code:

[root@localhost lib]# ldd /bin/bash
linux-gate.so.1 => (0x00687000)
libtinfo.so.5 => /lib/libtinfo.so.5 (0x05846000)

[code]....

View 2 Replies View Related

Fedora :: Run-parts (crontabs) Not Working?

Nov 14, 2010

i've got the following packages installed on a fresh fc14 installation :

cronie-1.4.5-2.fc14.i686
cronie-anacron-1.4.5-2.fc14.i686
crontabs-1.11-1.20101109git.fc14.noarch

[code]....

View 1 Replies View Related

Slackware :: Getting Crontabs For Users To Work?

Sep 3, 2010

My crontabs under root are working fine, but I can't seem to get my user crontabs to work.

When I do a crontab -l -u <user>, I get a listing of the crontab file, but it never is executed.

I've been reading about cron.allow and cron.deny, but I can't find those in the slackware distro. Is there something special that I need to do to allow user crontabs in Slackware? (version 13.1 if that helps)

View 2 Replies View Related

Ubuntu :: System Files In Ubuntu, Usr/share/gnome-screensaver \ Permissions Are Denied?

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

General :: -bash: /home/rb27/.bash_profile: Permission Denied

Sep 9, 2011

I have tried changing permissions and I have looked for a solution, but the error still exists.In fact it gives me a different error every time I log in.

Could not chdir to home directory /home/rb27: Permission denied

here is a snippet of what I get when I use the command ls -al:

drwxr-xr-x 16 root root 0 Sep 8 18:28 .
drwxr-xr-x 23 root root 4096 Feb 5 2011 ..
d????????? ? ? ? ? ? ajd74
d????????? ? ? ? ? ? ban45
d????????? ? ? ? ? ? rb27

I cannot log in as root since the permission is denied

View 1 Replies View Related

Programming :: Remove Line Containing Certain Variable - Bash - Permission Denied?

Jul 20, 2011

I am writing a bash script to run everyday and output results to a file. When the same results are produced i want to overwrite the line from the previous day. (Or remove and add). So if the script finds a variable in a line. i want it to output the results to that line . sed -i did not work for me; sed: couldn't open temporary file ./sedTvOCEg: Permission denied

View 10 Replies View Related

CentOS 5 Hardware :: NTSF Mount - Bash: /dev/sda1: Permission Denied

Nov 5, 2009

I have tried to mount Sda on my laptop HP dv6 and I have got this problem [root@cpe-74-71-125-175 ~]# /dev/sda1 /mymount/win ntfs-3g rw,umask=0000,defaults 0 0 bash: /dev/sda1: Permission denied

View 3 Replies View Related

General :: Root List / Edit Crontabs Of Other Users?

Aug 18, 2010

how can root list/edit crontabs of other users?

View 2 Replies View Related

Programming :: Bash Script - Make Sure All Files Have Certain Permissions

Jan 14, 2011

How can I iterate over all the files in the current directory to check for certain permissions? This is what I have:

Code: #!/bin/bash
for file in *.tar.gz
do if [ -r "$file" ]
then echo "$file is readable"
else echo "$file is NOT readable"
fi done

But this only checks that the current user has read permissions for each file. I want to check that the group "others" has read permissions for each file. How can I do this? Is there a built in function to check if a file has read permissions for the "others" group? Otherwise, I thought I might be able to use this:
Code: $ stat --format=%a file
744 And parse the output "744" and make sure the 3rd number is between 4 and 7 (since the octals 4-7 have read permissions for others).

View 2 Replies View Related

General :: Locate Directory And Change Permissions In Bash Script?

Aug 13, 2011

i am trying to write a script that does the following..1. checks if a directory exists2. changes permisssions of the directoryi have written a script but it returns a message to say that the specified directory does not exist (but it does).my question is how to i search the entire file system as directory could potenially be anywhere. would cd or su be of any use here.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved