Sponsored Content
Operating Systems Linux Permission denied issue on a Shared drive Post 302511230 by satishrao on Wednesday 6th of April 2011 08:45:23 AM
Old 04-06-2011
OK. So, on Server2, I "cd"ed to /mnt/CEMP, Selected a file which has -rw-r----- as its permission. I tried to read it, and got the below error on smbd.log with NT_STATUS_ACCESS_DENIED errors.

Code:
[2011/04/06 08:25:20, 3] smbd/trans2.c:call_trans2qfilepathinfo(3365)
  call_trans2qfilepathinfo CEMP_VOD_SG_MAPPING_20110404.txt (fnum = -1) level=512 call=5 total_data=0
[2011/04/06 08:25:20, 3] smbd/process.c:process_smb(1083)
  Transaction 688 of length 164
[2011/04/06 08:25:20, 3] smbd/process.c:switch_message(932)
  switch message SMBtrans2 (pid 9547) conn 0x2b013cc53450
[2011/04/06 08:25:20, 3] smbd/trans2.c:call_trans2setfilepathinfo(5846)
  call_trans2setfilepathinfo(6) CEMP_VOD_SG_MAPPING_20110404.txt (fnum -1) info_level=521 totdata=18
[2011/04/06 08:25:20, 3] smbd/open.c:open_file(301)
  Error opening file CEMP_VOD_SG_MAPPING_20110404.txt (NT_STATUS_ACCESS_DENIED) (local_flags=0) (flags=0)
[2011/04/06 08:25:20, 3] smbd/error.c:error_packet_set(106)
  error packet at smbd/trans2.c(6108) cmd=50 (SMBtrans2) NT_STATUS_ACCESS_DENIED


Last edited by Yogesh Sawant; 04-09-2011 at 11:23 AM.. Reason: added code tags
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
FUSERMOUNT(8)						    BSD System Manager's Manual 					     FUSERMOUNT(8)

NAME
fusermount -- manage librefuse mount items SYNOPSIS
fusermount [-chpVx] [-d name] refuseoptions fusermount -u mountpoint(s) DESCRIPTION
The fusermount utility acts as a frontend to the refuse(3) library, allowing mounting and unmounting of refuse-based file systems. There are essentially two forms of the fusermount command. The first, and default option, is to mount a refuse-based file system. By using the -u argument, the file system can be unmounted. The arguments to fusermount are as follows: -c Set a flag to enable kernel caching of files. At present this option has no effect. -d name Make the name argument appear as the file system name in mount(8) and df(1) output. -h Print a usage message and exit. -p Check the file permissions. At present this option has no effect. -V Display the fusermount version on stdout, and then exit successfully. -x Allow mortal (non-root) users to access the file system. At present, this option has no effect. The fusermount utility is included mainly for compatibility reasons, since some file systems demand its existence. EXIT STATUS
fusermount returns 0 for successful operation, or non-zero if one of the operations did not complete successfully. EXAMPLES
The command fusermount -d ntfs-3g unused mount.ntfs-3g ntfs.img /mnt will mount the file ntfs.img on the directory /mnt. Please note the unused argument in the command, which is necessary for compatibility with other implementations of the fusermount command. SEE ALSO
df(1), puffs(3), refuse(3), mount(8) HISTORY
The fusermount utility first appeared in NetBSD 5.0. AUTHORS
The fusermount utility was written by Alistair Crooks <agc@NetBSD.org>. BSD
June 11, 2007 BSD
All times are GMT -4. The time now is 06:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy