Access problem.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Access problem.
# 1  
Old 12-31-2008
Question Access problem.

I am having troubles copying the contents of one directory to other.
I want to copy the contents of the MSIMM folder to another folder
The MSIMM folder is in
$ ls -al
total 48
drwxr--r-- 6 ag32563 user 4096 Sep 23 11:10 .
drwxr--r-- 13 ag32563 user 4096 Dec 30 17:08 ..
drwxrwxrwx 17 ag32563 user 4096 Dec 24 10:55 MSIM
drwxr--r-- 3 ag32563 user 4096 Aug 14 14:27 MSIM06192008
drwxr--r-- 3 ag32563 user 4096 Aug 26 13:28 MSIM08212008
drwxr--r-- 3 ag32563 user 4096 Sep 23 11:20 MSIM09232008


[gclsrap1d:/home/ag32563/slave/MSIM]
$ ls -al
total 208
drwxrwxrwx 17 ag32563 user 4096 Dec 24 10:55 .
drwxr--r-- 6 ag32563 user 4096 Sep 23 11:10 ..
-rw-rwxrwx 1 ag32563 user 340 Jan 8 2007 .classpath
-rw-rwxrwx 1 ag32563 user 255 Nov 27 2007 .mymetadata
-rw-rwxrwx 1 ag32563 user 1382 Jan 8 2007 .project
drwxrwxrwx 4 ag32563 user 4096 May 12 2008 CVDD
drwxrwxrwx 2 ag32563 user 4096 Sep 23 11:12 CVS
drwxrwxrwx 3 ag32563 user 4096 May 12 2008 META-INF
-rw-rwxrwx 1 ag32563 user 109 Jul 17 2007 MacroRules
drwxrwxrwx 3 ag32563 user 4096 May 12 2008 UML
drwxrwxrwx 13 ag32563 user 4096 Sep 23 11:11 appconfig
-rw-rwxrwx 1 ag32563 user 821 Feb 11 2008 build.xml
drwxrwxrwx 3 ag32563 user 4096 May 12 2008 conf
drwxrwxrwx 3 ag32563 user 4096 May 12 2008 db-ddl
drwxrwxrwx 4 ag32563 user 4096 Sep 23 11:11 dbscripts
drwxrwxrwx 4 ag32563 user 4096 Dec 24 11:20 install
drwxrwxrwx 4 ag32563 user 4096 Sep 23 11:11 lib
-rw-rwxrwx 1 ag32563 user 802 Dec 24 10:53 msim.env
-rw-rwxrwx 1 ag32563 user 720 Feb 13 2008 msim.mk
drwxrwxrwx 4 ag32563 user 4096 May 12 2008 packaging
drwxrwxrwx 3 ag32563 user 4096 May 12 2008 pkg
-rw-rwxrwx 1 ag32563 user 1497 Feb 12 2008 release.info.ksh
drwxrwxrwx 3 ag32563 user 4096 Sep 23 11:11 scripts
drwxrwxrwx 4 ag32563 user 4096 Sep 23 11:12 src
drwxrwxrwx 3 ag32563 user 4096 Dec 24 10:55 temp
-rwxrwxrwx 1 ag32563 user 74 Jan 19 2007 xenv


[gclsrap1d:/home/ag32563/slave/MSIM/install]
$ ls -al
total 32
drwxrwxrwx 4 ag32563 user 4096 Dec 24 11:20 .
drwxrwxrwx 17 ag32563 user 4096 Dec 24 10:55 ..
drwxrwxrwx 5 ag32563 user 4096 Dec 24 11:21 calculator
drwxrwxrwx 4 ag32563 user 4096 Dec 24 11:20 weblogic

[gclsrap1d:/home/ag32563/slave/MSIM/install/calculator]
$ ls -al
total 40
drwxrwxrwx 5 ag32563 user 4096 Dec 24 11:21 .
drwxrwxrwx 4 ag32563 user 4096 Dec 24 11:20 ..
drwxrwxrwx 2 ag32563 user 4096 Dec 24 11:20 config
drwxrwxrwx 2 ag32563 user 4096 Dec 24 11:21 lib
drwxrwxrwx 2 ag32563 user 4096 Dec 24 11:21 scripts

[gclsrap1d:/home/ag32563/slave/MSIM/install/calculator/config]
$ ls -al
total 40
drwxrwxrwx 2 ag32563 user 4096 Dec 24 11:20 .
drwxrwxrwx 5 ag32563 user 4096 Dec 24 11:21 ..
-rw-rwxrwx 1 ag32563 user 1834 Dec 24 11:20 MSIM.properties
-rw-rwxrwx 1 ag32563 user 5587 Dec 24 11:20 MSIM_sql.xml

$ /usr/local/bin/scsu - msim_d
Password:
Reason: deploy

(gclsrap1d:/home/mrsim_d)$cd /apps/mrsi/mrsistable3

(gclsrap1d:/apps/mrsim/mrsimstable3)$time cp -Rf /home/ag3097/slave/MSIM/install .
cp: cannot access /home/ag3097/slave/MSIM/install
# 2  
Old 12-31-2008
/home/ag32563/slave doesn't have execute bits for group and world.
Padow
# 3  
Old 12-31-2008
This is the directory permissions for the slave

drwxr--r-- 6 ag32563 user 4096 Sep 23 11:10 slave

Does execute bit also needs to be set in order to make a copy?I thought read permissions are sufficient to make a copy from one user to another user.
# 4  
Old 12-31-2008
To traverse the directory tree, the execute bit needs to be set. Try changing it to 755, or drwxr-xr-x.

Also, ensure the same permissions on /home/ag32563 if you want another user to be able to access files further down this tree.
Padow
# 5  
Old 01-02-2009
Even changing the permissions to execute does not let me copy the files.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Big problem during the access for the password

Every time that i quit from the forum despite i'm 100 % sure that i put the right login (i make a copy and past of the correct data) i obtain always the message that the login is wrong so i must always reset it. :wall: Could be a bug? I use a 64 bit linux system. (4 Replies)
Discussion started by: alexscript
4 Replies

2. Solaris

Login access problem

Hi, If i changed my password then i can able to enter into linux box. After some time if i tried then i can not able to enter into the same box. I have tried lot of times, But it is not resolved yet. I got below error message Error Message : Timeout before authentication for... (4 Replies)
Discussion started by: Mani_apr08
4 Replies

3. Shell Programming and Scripting

problem in access in array variables

hi all, its me again!!! i've requirement like this: i want to create a file & an array with its name having the filename as its substring. here is the test script!! #!/bin/bash touch $1 declare -a $1_rec; echo -n "$1_rec: " read $1_rec; echo $]; now see output: this is when i enter... (7 Replies)
Discussion started by: tprayush
7 Replies

4. UNIX for Advanced & Expert Users

File access/ Never seen problem!

Dear Guru's, I am being facing strange issue in UNIX. My user name is shah and one more user name is appstest I have a directory created by appstest user i.e. /home/appstest/work ls -ld /home/appstest/work drwxrwxr-x 10 appstest apps 12288 Aug 06 23:41 /home/appstest/work Now I... (1 Reply)
Discussion started by: shahnazurs
1 Replies

5. Linux

file system access problem

I have 3 windows partitions (c,d,e) all of NTFS file system i mounted them while installing open suse in /win/c,/win/d,/win/e created a user other than "root" eg: "us1" problem 1: by loggimg into linux by user "us1" iam unable to see files in mounted... (2 Replies)
Discussion started by: seshumohan
2 Replies

6. Red Hat

FTP access problem

Hi dear all When i try to connect to an ftp site it shows the following error "An FTP authentication failure occurred while trying to retrieve the URL: ftp://xyz.org/ Squid sent the following FTP command: PASS <yourpassword> and then received this reply User anonymous cannot log in" I... (3 Replies)
Discussion started by: surfer24
3 Replies

7. Shell Programming and Scripting

problem trying to access a database

hi guys, I am using the following code in order to access a database. #!/usr/bin/perl print "READ DATA FROM DATABASE\n"; use DBI; use strict; #use DBD::Oracle; my $user='reassure'; my $pass='R3Assur3'; #my $dsn="dbi:Oracle:orcl"; my $dsn='dbi:Oracle:cobscs.world'; my $dbh =... (1 Reply)
Discussion started by: chriss_58
1 Replies

8. Shell Programming and Scripting

Urgent: ACCESS PROBLEM

Hi I have users A and B in UNIX system both are not having root priveleges. User A has written a script file where it connects to database and uses a logfile directed to the path in directory of USER B. I copied the script into USER B directory and tried to run the script. Its giving... (3 Replies)
Discussion started by: skyineyes
3 Replies

9. Cybersecurity

Need someone to help, MySQL problem, no root access

Hi! I have a website, and it's been down for a long time now, because MySQL died (www.3dkingdom.org). I need someone who can get me the root password of the server (I will find someone to take care of the MySQL database, because there is about 20 sites there and none of them have MySQL databases... (6 Replies)
Discussion started by: _hp_
6 Replies

10. UNIX for Dummies Questions & Answers

ftp access problem

Hello, I am trying to access the remote redhat linux server from a windows 2000 machine thro ftp, but i am getting the error ie connection timed out. FTP service is running on the server. since ftp is working locally. And also i can able to ping to remote server also. Still i am getting... (1 Reply)
Discussion started by: bache_gowda
1 Replies
Login or Register to Ask a Question