Will i see a file/dir I don't have read access to


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Will i see a file/dir I don't have read access to
# 1  
Old 06-25-2008
Will i see a file/dir I don't have read access to

Hi all,

if I have a dir with a mixture of files and directories in it and one of the directories *only* has read permission for the owner and I am not the owner - will I see it with an 'ls -la'.

I do not have access to a unix box at present to try this out.

Any thoughts gratefully received
# 2  
Old 06-25-2008
Yes, you will see it in a directory listing.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Don't have tree, need advise to differentiate dir from file from this alternative that uses find

Hi, I don't have tree on the Solaris server and our SA don't want to install it. I found this example from One Line Linux Command to Print Out Directory Tree Listing | systemBash that more or less does what I am mainly looking for. Example run is as below: $: find ./ | sed -e... (2 Replies)
Discussion started by: newbie_01
2 Replies

2. AIX

Assign read write permission to the user for specific dir and it's sub dir and files in AIX

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies

3. Solaris

samba read write access to owner and no access to other users

Hi All, I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration. Regards, Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies

4. Solaris

Dtrace-counting the number of read access to a file

Hi, I want to write a script with dtrace to count the number of read and write from and to a file. I use this for reading: dtrace -n 'syscall::read:entry { @ = count(); }' but it doesn'f give me a single answer. The result is always increasing. :wall: Please use next time code tags... (0 Replies)
Discussion started by: golabi
0 Replies

5. UNIX for Dummies Questions & Answers

Access the oldest file in a dir

I have to move files (one by one) from one dir to another, in such a way that the oldest file should be moved first followed by the latest file. The source dir (from where I am moving files) may contains a minimum of 20K files at any point of time. I am not able to use "ls -ltr" as it throws error... (6 Replies)
Discussion started by: rajesh8s
6 Replies

6. Solaris

file open/read/write/close/access by process

Hi want to know what file (descriptor+filename+socket) is being accessed by particular process on solaris. Purpose : while running perf. test, needs to find where is the bottleneck. We are providing concurrnet load for around 1 hr and needs to capture data related to file usage pattern... (1 Reply)
Discussion started by: raxitsheth
1 Replies

7. Web Development

You don't have permission to access / on this server.

Hello, I've set all permissions for all on my Server folders: chmod a+rwx ServerFolder When I browse to localhost:8000 I receive the following error: You don't have permission to access / on this server. why ? thanks (9 Replies)
Discussion started by: aneuryzma
9 Replies

8. UNIX for Dummies Questions & Answers

Move A File With Same Date,don't Change The Desitination Dir Date

Assume, I created one file three years back and I like to move the file to some other directory with the old date (Creation date)? Is it possible? Explain? (1 Reply)
Discussion started by: jee.ku2
1 Replies

9. Shell Programming and Scripting

User dir access using ~ in sh

I am writing code to copy file if user dir exists. Code snippet : #!/bin/sh if then cp ~user1/file file else cp ~user2/file file fi This code works if shell is ksh but not if shell is sh. Can anyone suggest how this can work in sh script? Thanks, Ashish (1 Reply)
Discussion started by: Ashishp
1 Replies

10. UNIX for Dummies Questions & Answers

dir access

How do I give specific user the ablity to create, delete, rename, and alter in a specific directory. I am using redhad 7.2 and would like to give a specific user the rights to a dirc in the main www directory. (1 Reply)
Discussion started by: macdonto
1 Replies
Login or Register to Ask a Question