Do you need execute permission to navigate to a directory?
i have a user 'bart' which does not belong to apps group (as shown below) and i want him to be able to navigate to TEST directory.. i gave him read access but he cannot get through. when i added execute permission he was able to navigate to TEST
why is that? i thought read access should suffice?
I am logged in as root and am trying to execute a file called x_cleanup_equdata but keep getting the message
ksh: x_cleanup_equdataNEW: 0403-006 Execute permission denied.
I did FTP this file from another server using GET, would this make the difference?
I tried chmod 666 but still no luck. ... (2 Replies)
how can a script run without execute permissions.
when i run myscript as :
sh a.sh
it was working but when i say simple a.sh its not working since it has no x permission.but how about fist case? (1 Reply)
This might be very silly question but i dont know y is it so...
i Have script
I have Given the permissions in the following manner...
-rwxrwx--x 1 root system 3 Jun 08 15:46 temp
I want no one to see what is present in that but should be able to execute it..
but when... (3 Replies)
Hello,
How do I navigate to the level ABOVE the home directory?
I have the following structure on my drive, bearing in my I'm using a cygwin port on Windows.
C:\
C:\cygwin
C:\cygwin\bin
C:\cygwin\otherfolders
C:\cygwin\home (the home directory)
C:\cygwin\home\H (my user directory)
... (4 Replies)
I am trying to install some applications, on my linux OS and all the instructions are tell me that ill have to navigate to the directories and type the link that they provide, but i try typing 'dir' which shows me the directories but to access a particular one i can't remember how??? can anyone... (2 Replies)
Hi,
Can someone help me figure out how to view directory content while I navigate directories (without having to go to the actual directory and "ls-ing" it)? Is there some keyboard shortcut for this? For instance, it would be useful if I could see the content of a directory when I'm copying... (2 Replies)
Hi
I am Trying to Write a script that can goto 4 different directorys on the server & remove the Files older then 30 days ??
/logs
logs1 logs2 logs3
Now I need to remove files under
logs1 logs2 logs3 which are older then 30 days whose name stat 'sit' , 'mig','bld' .
in... (3 Replies)
Hi,
Currently i'm logging as a user say atgdev. When I login it takes me to directory /.
I see the home directory set as /home/atgdev/
I want that when i log in it shud directly go to my home directory i.e /home/atgdev/.
I thought .profile in /home/atgdev/ will be invoked first when i log... (9 Replies)
Hello,
I need to install a program from a DVD. It uses a sh script called setup.
root@ragnok: head -2 /media/cdrom0/setup
#!/bin/sh
root@ragnok: ls -l /media/cdrom0/setup
-r-xr-xr-x 1 root root 4688 Nov 8 08:38 /media/cdrom0/setup
root@ragnok: /media/cdrom0/setup
bash:... (2 Replies)
Hi All,
What is the use of execute permission for a folder.
I know "for execute a file(script file) we have to provide execute permission to that respective file".But what is the use to give execute permission to folder.Is it equal to read permission ?
Regards,
Mastan (1 Reply)