Sponsored Content
Full Discussion: Access problem.
Top Forums UNIX for Dummies Questions & Answers Access problem. Post 302272696 by leepan2008 on Wednesday 31st of December 2008 11:40:52 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
MMAP2(2)						     Linux Programmer's Manual							  MMAP2(2)

NAME
mmap2 - map files or devices into memory SYNOPSIS
#include <sys/mman.h> void *mmap2(void *addr, size_t length, int prot, int flags, int fd, off_t pgoffset); DESCRIPTION
This is probably not the system call that you are interested in; instead, see mmap(2), which describes the glibc wrapper function that invokes this system call. The mmap2() system call provides the same interface as mmap(2), except that the final argument specifies the offset into the file in 4096-byte units (instead of bytes, as is done by mmap(2)). This enables applications that use a 32-bit off_t to map large files (up to 2^44 bytes). RETURN VALUE
On success, mmap2() returns a pointer to the mapped area. On error, -1 is returned and errno is set appropriately. ERRORS
EFAULT Problem with getting the data from user space. EINVAL (Various platforms where the page size is not 4096 bytes.) offset * 4096 is not a multiple of the system page size. mmap2() can also return any of the errors described in mmap(2). VERSIONS
mmap2() is available since Linux 2.3.31. CONFORMING TO
This system call is Linux-specific. NOTES
On architectures where this system call is present, the glibc mmap() wrapper function invokes this system call rather than the mmap(2) sys- tem call. This system call does not exist on x86-64. On ia64, the unit for offset is actually the system page size, rather than 4096 bytes. SEE ALSO
getpagesize(2), mmap(2), mremap(2), msync(2), shm_open(3) COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. Linux 2017-09-15 MMAP2(2)
All times are GMT -4. The time now is 11:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy