Sponsored Content
Operating Systems HP-UX user can't write on cifs share but OK with Windows Explorer Post 302495555 by lamoul on Thursday 10th of February 2011 02:30:18 PM
Old 02-10-2011
user can't write on cifs share but OK with Windows Explorer

Share ServerA
==== The Samba server is running on Samba version 3.0.22 based HP CIFS Server A.02.03.04
/opt/cifsclient/sbin/cifsclientd version: HP CIFS Client - Version A.02.02.02 smb file: [global]
My previous casw was thew user wasn't able to write to the share from Windows Explorer. After giving the permissions 777 on the share, it FIXED the problem with WRITE permission.
ServerB
Now the problem is with the access and write to the share at UNIX level from remote mounpoint. i create direcotry for mounpoint on serverB and run command as follow:
#mkdir /export/cartsshare/cartstage
#cifsmount //onottaafccifs/carts /export/cartsshare/cartstage -U dbashare -P password -s (run as root)
----
permission before mounting:
drwxrwxr-x 2 cartsprd oradba 96 Feb 10 14:10 cartstage
Now
su - user that want to access the share. This user is already part of oradba group.
cd /export/cartsshare/cartstage
sh: /export/cartsshare/cartstage: Permission denied.
---
permission after mounted:
drwxrwxrwx 2 root sys 131072 Feb 10 14:23 cartstage
How comes that the ownership has changed after mounting. why the user can't write to this file system>
 

10 More Discussions You Might Find Interesting

1. AIX

write syslog to windows share

hello, we are currently experimenting with writing syslog files out to a windows share. I am able to successfully mount the share with mount -v cifs ... and can navigate into the mount point and create/edit files as necessary. However, the syslog will not write out to this mount point. any ideas... (4 Replies)
Discussion started by: zuessh
4 Replies

2. Solaris

Mounting CIFS share

Is it possible to mount a samba share on a solaris system? I know this is possible with Linux using a fstype of smbfs. I am trying to aviod having to share the same directories via cifs and nfs on a solaris box to windows and solaris clients. (3 Replies)
Discussion started by: mhm4
3 Replies

3. AIX

share with cifs

Im trying to share a directory with cifs my aix box with a windows server. but when I try to mount mount -v cifs -n 172.19.90.240/suc_user/tommy /directory /directory1/directory1 I got this error There was an error connecting the share or the server. Make sure the lsdev command shows that... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

4. Shell Programming and Scripting

Script to copy User home folders to mounted windows share

First of all, let me state that I am a windows admin. I have a windows share mounted to /mnt/server I need a script that will either login as sudo or perform commands with sudo rights. I need the script to copy all of the users /home folders to the mounted windows share. Now If I can... (7 Replies)
Discussion started by: EricM
7 Replies

5. AIX

AIX cifs: mount Windows Server 2008 share ?

Hello, I've been using AIX cifs to mount windows XP shares with no problems till now. Now it's Windows Server 2008 R2 - no go: mount -v cifs -n host1/user1/pass1 /share1 /mountpt1 There was an error connecting the share or the server. Make sure the lsdev command shows that device nsmb0 is in... (6 Replies)
Discussion started by: vilius
6 Replies

6. Solaris

Can't connect to CIFS share

Hello guys, as of recently I'm unable to connect to one of my CIFS shares and I've no clue why that may be. As you can see in the first attachment a connection attempt to tony prompts for user credentials but when I try to connect to Videos it claims not being able to find the resource which is... (1 Reply)
Discussion started by: Tony~
1 Replies

7. UNIX for Dummies Questions & Answers

Mounting a standard user, windows share at login

I know how to mount my share via /etc/fstab automatically when the system boots but since I do not have root permission to access the /etc/fstab nor do I think that the system admin wants me to add an entry in /etc/fstab all together. So what file could I add my mount entry in? mount -t cifs... (8 Replies)
Discussion started by: metallica1973
8 Replies

8. AIX

I/O speed to CIFS mounted Windows Share

I have an AIX box that mounts a Windows share across subnets. When I try to copy a 100 MB file to it, it copies around 2 MB/s. If I copy to another Windows share on the same subnet it copies around 12 MB/s. All I have is gigabit networks so I would expect it to go well over 12 MB/s, which is the... (8 Replies)
Discussion started by: kah00na
8 Replies

9. Red Hat

CIFS share re-export NFS

Hi Guys, need help here. i have windows server that share a folder C:/ABCDE i configure samba client in Linux server as /EDCBA and it working fine. then i want to share this /EDCBA to another Linux server using NFS. in the /etc/exportfs i have put /EDCBA - *(rw,no_root_squash) ... (1 Reply)
Discussion started by: prossits
1 Replies

10. Windows & DOS: Issues & Discussions

Unable to access the CIFS share folder on windows by IP

Hi All Actually I have NAS Storage and Suddenly I got problem Unable to access the CIFS share folder on windows host, however the IP is pinging and the share is accessible via share name. The share can be accessed via share name only on Windows higher Windows Versions. Any help guys (4 Replies)
Discussion started by: Abu_SM
4 Replies
share(1M)                                                                                                                                share(1M)

NAME
share - make local resource available for mounting by remote systems SYNOPSIS
share [-F FSType] [-o specific_options] [-d description] [pathname] The share command exports, or makes a resource available for mounting, through a remote file system of type FSType. If the option -F FSType is omitted, the first file system type listed in /etc/dfs/fstypes is used as default. For a description of NFS specific options, see share_nfs(1M). pathname is the pathname of the directory to be shared. When invoked with no arguments, share displays all shared file sys- tems. -F FSType Specify the filesystem type. -o specific_options The specific_options are used to control access of the shared resource. (See share_nfs(1M) for the NFS specific options.) They may be any of the following: rw pathname is shared read/write to all clients. This is also the default behavior. rw=client[:client]... pathname is shared read/write only to the listed clients. No other systems can access pathname. ro pathname is shared read-only to all clients. ro=client[:client]... pathname is shared read-only only to the listed clients. No other systems can access pathname. Separate multiple options with commas. Separate multiple operands for an option with colons. See . -d description The -d flag may be used to provide a description of the resource being shared. Example 1: Sharing a Read-Only Filesystem This line will share the /disk file system read-only at boot time. share -F nfs -o ro /disk Example 2: Invoking Multiple Options The following command shares the filesystem /export/manuals, with members of the netgroup having read-only access and users on the speci- fied host having read-write access. share -F nfs -o ro=netgroup_name,rw=host1:host2:host3 /export/manuals /etc/dfs/dfstab list of share commands to be executed at boot time /etc/dfs/fstypes list of file system types, NFS by default /etc/dfs/sharetab system record of shared file systems See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ mountd(1M), nfsd(1M), share_nfs(1M), shareall(1M), unshare(1M), attributes(5) Export (old terminology): file system sharing used to be called exporting on SunOS 4.x, so the share command used to be invoked as exportfs(1B) or /usr/sbin/exportfs. If share commands are invoked multiple times on the same filesystem, the last share invocation supersedes the previous--the options set by the last share command replace the old options. For example, if read-write permission was given to usera on /somefs, then to give read- write permission also to userb on /somefs: example% share -F nfs -o rw=usera:userb /somefs This behavior is not limited to sharing the root filesystem, but applies to all filesystems. 9 Dec 2004 share(1M)
All times are GMT -4. The time now is 11:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy