Sponsored Content
Operating Systems Solaris samba read write access to owner and no access to other users Post 302716431 by sahil_shine on Tuesday 16th of October 2012 10:41:08 AM
Old 10-16-2012
samba read write access to owner and no access to other users

Hi All,

I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration.

Regards,
Sahil
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do i access (mount, read & write) a floppy disk from the console, not being root?

welll, the title quite explains what i want to do thanks for your time! (4 Replies)
Discussion started by: kfaday
4 Replies

2. IP Networking

Access samba over wan

How do I access a samba server over a wan with routers used as the gateways between the lans (1 Reply)
Discussion started by: ogah
1 Replies

3. Cybersecurity

file permission/acl: 2 users with write access on 1 file...

Hello, i need some help/advice on how to solve a particular problem. these are the users: |name | group | ---------- --------------- |boss | department1 | |assistant | department1 | |employee | department1 | |spy | department2 | this is the... (0 Replies)
Discussion started by: elzalem
0 Replies

4. UNIX for Dummies Questions & Answers

user & group read/write access question

folks; I created a new users on my SUSE box and i need to give this user/group a read write access to one specific folder. here's the details: - I created new user "funny" under group "users". - I need to give this user "funny" a read/write access to another directory that is owned by "root".... (3 Replies)
Discussion started by: Katkota
3 Replies

5. Solaris

giving write access to selective users to a certain directory in solaris 10

Hi all, how can i grant write access to a selective users only with write access to a certain filesystem/directory in solaris 10. Please help..i tried "fs setacl"...does not seem to work Please adv..thanks in advance... (4 Replies)
Discussion started by: cromohawk
4 Replies

6. Windows & DOS: Issues & Discussions

samba with public access

Hello friends .. I have configured "smb" in debian machine . Created a share named "share_one" with public access and started samba service . I am able to access the share "share_one" directly without any difficulty on linux machines. But when it comes to windows it asks for username... (1 Reply)
Discussion started by: pradeepreddy
1 Replies

7. Solaris

file open/read/write/close/access by process

Hi want to know what file (descriptor+filename+socket) is being accessed by particular process on solaris. Purpose : while running perf. test, needs to find where is the bottleneck. We are providing concurrnet load for around 1 hr and needs to capture data related to file usage pattern... (1 Reply)
Discussion started by: raxitsheth
1 Replies

8. UNIX for Dummies Questions & Answers

kernel giving access for multiple users to access files

hi all, i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Discussion started by: jimmyuk
1 Replies

9. Red Hat

cannot access a directory with samba

path = /opt writeable = yes ; browseable = yes # guest ok = no valid users = oracle path = /opt/TEST8000/oracle/apps/apps_st/appl/ffcl/12.0.0/reports/US writeable = yes ; browseable = yes valid users = oracle path... (1 Reply)
Discussion started by: rehantayyab82
1 Replies

10. UNIX for Beginners Questions & Answers

Samba Share access from windows

Hello, I want to connect to two samba shares both on the same Linux box but each with a different username from a windows server 2008. I created 2 gpos to connect and I can connect to the shares individually via net use command, but once I entered credentials for one of the shares, it seems I... (1 Reply)
Discussion started by: zaineyma
1 Replies
utime(2)							System Calls Manual							  utime(2)

NAME
utime() - set file access and modification times SYNOPSIS
DESCRIPTION
The system call sets the access and modification times of the file to which the path argument refers. If times is a NULL pointer, the access and modification times of the file are set to the current time. A process must be the owner of the file or have write permission on the file to use in this manner. The following times in the structure defined in are measured in seconds since 00:00:00 UTC (Coordinated Universal Time), January 1, 1970. time_t actime; /* access time */ time_t modtime; /* modification time */ Security Restrictions If times is not a NULL pointer, times is interpreted as a pointer to a utimbuf structure, and the access and modification times are set to the values contained in the designated structure. Only the owner of the file or a user with the privilege can use this way. See privileges(5) for more information about privileged access on systems that support fine-grained privileges. RETURN VALUE
returns the following values: Successful completion. Failure. is set to indicate the error. ERRORS
If fails, is set to one of the following values. Search permission is denied by a component of the path prefix. The effective user ID is not a user with the privilege, and not the owner of the file, times is a NULL pointer, and write access is denied. times is not a NULL pointer, and it points outside the process's allocated address space. The reliable detection of this error is implementation-dependent. path points outside the process's allocated address space. The reliable detection of this error is implementation-depen- dent. times is not a NULL pointer, and access time or modification time or both are negative. The length of the specified path name exceeds bytes, or the length of a component of the path name exceeds bytes while is in effect. The named file does not exist. A component of the path prefix is not a directory. The effective user ID is not a user with the privilege, and not the owner of the file, and times is not a NULL pointer. The file system containing the file is mounted read-only. DEPENDENCIES
NFS may return when invoked on a remote file owned by a superuser, or users with and privileges, even if the invoking user has write permission on the file. See privileges(5) for more information about privileged access on systems that support fine-grained privileges. SEE ALSO
touch(1), stat(2), privileges(5). STANDARDS CONFORMANCE
utime(2)
All times are GMT -4. The time now is 09:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy