08-28-2008
When I cd to oink, it says oink does not exist.
When I ls oink, it gives me a permission denied. I would have thought allowing anonymous access would take care of permissions.
10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi,
How can I mount a Windows share (over samba) on an AIX machine?
I know there is a utility called smbmount on Linux, but alas, I cannot find out how to the same thing on AIX.
anyone have any ideas?
thanks! (3 Replies)
Discussion started by: szahir1
3 Replies
2. Linux
hello everybody
i have one quetion :( about how i can share my file in windows to use it in linux
explane
i have to opreating system
windows xp and linux fedore core and unix ( sun solaris 10 )
and i want to open me file that is storege in windows <<< want to open it in unix or... (4 Replies)
Discussion started by: msn22
4 Replies
3. HP-UX
is it possible? i will only config on the windows side. is there a third party software to help me accomplish this? tnx (3 Replies)
Discussion started by: Amaru
3 Replies
4. UNIX for Advanced & Expert Users
We are trying to mount a Unix share drive on a Windows 2003 server to avoid transfering files accross the network using sftp. I can see shared drives on the Solaris server using the "share" command. How can I mount the drives on my Windows server so that I can read them directly. Do I need... (2 Replies)
Discussion started by: rbdenham
2 Replies
5. Solaris
please help me,,i need step to mount windows share folder,,i try samba and nfs and it didnt work (in my linux server the command is fine),,can somenone give me an example for this to be done? (0 Replies)
Discussion started by: Cellscript
0 Replies
6. UNIX for Dummies Questions & Answers
Hi whan i am trying to mount a windows share on linux i received the following error can some one help me with thsi
# mount -t cifs \\\\servername\testdata -o username=xw27,password=*es*feed /test
Mounting the DFS root for a particular server not implemented yet
No ip address specified... (5 Replies)
Discussion started by: robo
5 Replies
7. UNIX for Dummies Questions & Answers
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. UNIX for Advanced & Expert Users
Unix Expects,
I am trying to connect to Unix server to windows share point using ftp or fstp. I want to get excel file from windows share to unix server.
But i am not able to do it. Can you please help me on this. :confused:
Cheers (6 Replies)
Discussion started by: AraR87
6 Replies
9. UNIX for Beginners Questions & Answers
Hi Folks -
I need to mount a Windows Share to a Linux server. What is the best/easiest way to do this?
Is this 'how-to' guide accurate:
How to Share Files Between Windows and Linux
Or is there a better method you could share?
Thanks! (8 Replies)
Discussion started by: SIMMS7400
8 Replies
10. UNIX for Advanced & Expert Users
Hi,
I need to mount a directory from a Windows server to a CentOS box.
The Windows server used is Windows Server 2003, and the path to the directory that I want to mount on CentOS is C:\Tomcat6\webapps\NASApp\logs.
I am not sure of the correct way to mount this on CentOS, as most of the... (2 Replies)
Discussion started by: anaigini45
2 Replies
ACCESS(2) System Calls Manual ACCESS(2)
NAME
access - determine accessibility of file
SYNOPSIS
#include <sys/file.h>
#define R_OK 4/* test for read permission */
#define W_OK 2/* test for write permission */
#define X_OK 1/* test for execute (search) permission */
#define F_OK 0/* test for presence of file */
accessible = access(path, mode)
int accessible;
char *path;
int mode;
DESCRIPTION
Access checks the given file path for accessibility according to mode, which is an inclusive or of the bits R_OK, W_OK and X_OK. Specify-
ing mode as F_OK (i.e., 0) tests whether the directories leading to the file can be searched and the file exists.
The real user ID and the group access list (including the real group ID) are used in verifying permission, so this call is useful to set-
UID programs.
Notice that only access bits are checked. A directory may be indicated as writable by access, but an attempt to open it for writing will
fail (although files may be created there); a file may look executable, but execve will fail unless it is in proper format.
RETURN VALUE
If path cannot be found or if any of the desired access modes would not be granted, then a -1 value is returned; otherwise a 0 value is
returned.
ERRORS
Access to the file is denied if one or more of the following are true:
[ENOTDIR] A component of the path prefix is not a directory.
[EINVAL] The pathname contains a character with the high-order bit set.
[ENAMETOOLONG] A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters.
[ENOENT] The named file does not exist.
[EACCES] Search permission is denied for a component of the path prefix.
[ELOOP] Too many symbolic links were encountered in translating the pathname.
[EROFS] Write access is requested for a file on a read-only file system.
[ETXTBSY] Write access is requested for a pure procedure (shared text) file that is being executed.
[EACCES] Permission bits of the file mode do not permit the requested access, or search permission is denied on a component of the
path prefix. The owner of a file has permission checked with respect to the ``owner'' read, write, and execute mode bits,
members of the file's group other than the owner have permission checked with respect to the ``group'' mode bits, and all
others have permissions checked with respect to the ``other'' mode bits.
[EFAULT] Path points outside the process's allocated address space.
[EIO] An I/O error occurred while reading from or writing to the file system.
SEE ALSO
chmod(2), stat(2)
4th Berkeley Distribution May 22, 1986 ACCESS(2)