Permission denied issue on a Shared drive


 
Thread Tools Search this Thread
Operating Systems Linux Permission denied issue on a Shared drive
# 8  
Old 04-06-2011
What do you see when you ls -l it on server2? Since you're mounting it, and on a UNIX server, it may see the wrong permissions for some reason and refuse to even try to open it.

Last edited by Corona688; 04-06-2011 at 12:09 PM..
# 9  
Old 04-06-2011
Hi,
THe servers are Linux - not Unix.

When I ls -l that file (which I get a permission denied when I try to access) from Server2, I get the below

Server2:/mnt/CEMP $ ls -l CEMP_VOD_SG_MAPPING_20110404.txt
-rw-r----- 1 cemp cemp 3185100 Apr 5 11:00 File_20110404.txt

I check my ID as below. As you can see, the dbadmin user is a part of "cemp" group - which means I should be able to access it.

Server2:/mnt/CEMP $ id
uid=501(dbadmin) gid=501(dbadmin) groups=501(dbadmin),504(verticadba),505(cemp) context=user_u:system_r:unconfined_t

But...
Server2:/mnt/CEMP $ more CEMP_VOD_SG_MAPPING_20110404.txt
CEMP_VOD_SG_MAPPING_20110404.txt: Permission denied
# 10  
Old 04-11-2011
Any help with this? This is an unexpected behavior. I checked if selinux would be causing this issue - but selinux is disabled on this server.
Any ideas would be of great help!

Thanks!
Satish
# 11  
Old 04-11-2011
What filesystem are the files stored on?
# 12  
Old 04-11-2011
Looks like ext3.
The files on Server1 are mounted on /mnt/landingzone. So when I do a "mount" on Server1, I get below output snippet.

/dev/cciss/c0d1p1 on /mnt/landingzone type ext3 (rw)

Thanks!
Satish

---------- Post updated at 04:06 PM ---------- Previous update was at 04:00 PM ----------

Also, when I get into the samba prompt on Server2, I am able to successfully read the data. Check below for Server2.
smb: \> more CEMP_VOD_ASSET_20110410.txt
getting file \CEMP_VOD_ASSET_20110410.txt of size 35996 as /tmp/smbmore.JdEjmt (11717.1 kb/s) (average 11717.4 kb/s)

Only when I "cd" to the shared drive on Server2 (/mnt/CEMP) I am unable to do so - Permission denied.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Permission denied

Trying to get date into the txt file. It says Permission denied. echo $(date +%I:%M:%S_%D) >> /tmp/systemd_suspend_test_err.txt exec 2>> /tmp/systemd_suspend_test_err.txt if ; then # Do the thing you want before suspend here echo "we are suspending $(date +%I:%M:%S_%D)." elif ;... (5 Replies)
Discussion started by: drew77
5 Replies

2. UNIX for Dummies Questions & Answers

Permission denied

when i run echo "User” > /dev/tty5 why do i get permission denied? :confused: (2 Replies)
Discussion started by: chinababy
2 Replies

3. UNIX for Dummies Questions & Answers

Need help to move .csv file from UNIX path to windows shared drive or c:\ drive

Hi Guys, Can any one help me on this. I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive? Regards, LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies

4. Solaris

ISSUE : bash: cd: /rep/prok: Permission denied

Hi All, i have two accounts with acl permissions. I need to provide read access to both users. for one user s109552 "cd" is not working. drwxrws---+ 8 cvsadmin reto 1024 Aug 23 2011 reto su5sr117# su - s109553 $ bash bash-3.2$ cd /rep/reto bash-3.2$ pwd <-------- it... (2 Replies)
Discussion started by: Naveen.6025
2 Replies

5. AIX

Permission Denied issue on AIX 6.1 using Root

I have the following problem on my AIX 6.1 server. I logged in with Root ID to this folder etc/opt/symantec/scspagent/lib/instfunlib I try changing the folder permission but I keep getting this output : chmod: /opt/symantec/scspagent/lib/instfunlib: Permission Denied I did a listing on it... (3 Replies)
Discussion started by: mcdsweet98
3 Replies

6. Linux

Help with RT 4.0.4 Installation-Mason permission denied issue

Hi, I am trying to install RT 4.0.4 on Centos 6. I am almost done with the installation. However, when i try to start my web server (Apache - user: apache, group: apache) i get the following error: Starting httpd: : (in cleanup) Error while loading /opt/rt4/sbin/rt-server: Cannot create... (0 Replies)
Discussion started by: rtipx_user
0 Replies

7. Shell Programming and Scripting

Permission denied

I created a user so that when he logs in he will be directed to a menu /etc/passwd user1:x:115:1:Support -SysAd:/export/home/user1:/export/home/suppotrmenu/script.sh However when I logged in remotely from another server by ssh user1@1.1.1.1 , it saysexport/home/suppotrmenu/script.sh:... (4 Replies)
Discussion started by: lhareigh890
4 Replies

8. Shell Programming and Scripting

permission denied issue

hello I m trying to enter in a folder through my script but getting permission denied error .. Is there any command or somthing else so that i can access these folder through my script. (3 Replies)
Discussion started by: urfrnddpk
3 Replies

9. UNIX for Dummies Questions & Answers

Map Drive From Windows To Apache Shared Drive?

Anyone know how I can map a windows drive to an apache shared drive? In my httpd.conf file, I have: Alias /merc_rpts/ "/u/merc_rpts/" <Directory "/u/merc_rpts"> Options Indexes </Directory> I'm able to bring up a browser and see the contents of this folder. In... (0 Replies)
Discussion started by: gseyforth
0 Replies

10. UNIX for Dummies Questions & Answers

./ Permission Denied.

Could someone tell me why I am getting a permission denied message when I attempt to run this on an out file? Thanks! (8 Replies)
Discussion started by: trouscaillon
8 Replies
Login or Register to Ask a Question