Sponsored Content
Full Discussion: Home Directory Permissions
Top Forums UNIX for Advanced & Expert Users Home Directory Permissions Post 302293017 by a_artha on Monday 2nd of March 2009 06:21:19 AM
Old 03-02-2009
I solved my problem

soln

mount the home directory partion with acl option.

then change the directory owner as root
Then Change mod to 700

Use the follwing command setfacl to give permission to user.

setfacl -m u:username:rwx foldername

check with getfacl
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Reset Home Directory Permissions

I accidently reset the permissions of my /home/punkrockguy318 directory to root only. How can I get my punkrockguy318 permissions ( and all of it's contents) to be read/write accesable only to punkrockguy318 and root? (5 Replies)
Discussion started by: punkrockguy318
5 Replies

2. Shell Programming and Scripting

determine owner directory permissions from within the directory

From within a directory, how do I determine whether I have write permission for it. test -w pwd ; echo ? This doesn't work as it returns false, even though I have write permission. (4 Replies)
Discussion started by: Sniper Pixie
4 Replies

3. UNIX for Dummies Questions & Answers

Can I prevent a user from changing the permissions on their home directory.

Hello All, I have a new HPUX system going into production and it will be used by 2 projects. One of the contract requirements is the 2 groups can not have access to the others work or data. I believe I have the system pretty well locked up using groups and permissions and selective mounting of... (2 Replies)
Discussion started by: DanL
2 Replies

4. UNIX for Dummies Questions & Answers

User home folder permissions catch-22, help!

Hi everyone. My objective is to configure a Solaris 10 box as follows: There will be many simultaneous users connecting to it, and each of those users would automatically get a home folder. For example, when I add user "Bob", the home folder would be /export/home/Bob And for Mary, it's... (3 Replies)
Discussion started by: EugeneG
3 Replies

5. Solaris

Restricting SFTP user to a defined directory and home directory

Hi, I've created solaris user which has both FTP and SFTP Access. Using the "ftpaccess" configuration file options "guest-root" and "restricted-uid", i can restrict the user to a specific directory. But I'm unable to restrict the user when the user is logged in using SFTP. The aim is to... (1 Reply)
Discussion started by: sftpuser
1 Replies

6. Shell Programming and Scripting

Checking directory permissions on UNIX directory

Hi, How do i check if I have read/write/execute rights on a UNIX directory? What I'm doing is checking read access on the files but i also want to check if user has rights on the direcory in whcih these files are present. if then...... And I check if the directory exists by using... (6 Replies)
Discussion started by: chetancrsp18
6 Replies

7. UNIX for Advanced & Expert Users

Keeping your Home file permissions correct

I have been a UNIX user for a long time, and in that time I have been looking for a program to set/reset all the file permissions of a complex directory hierarchy (my home) according to a configuration file of rules. That is not the simple find-xargs-chmod rule but a program (shell/perl/c)... (4 Replies)
Discussion started by: antofthy
4 Replies

8. UNIX for Advanced & Expert Users

Permissions on a directory in /home for all users

Hi, I have created a shared directory on /home, where all users on a certain group have read, write and execute permissions. I did this using chmod -R g+rwx /home/shared/ The problem is, when a particular user creates a directory within /home/shared, other users are not able to write to... (8 Replies)
Discussion started by: lost.identity
8 Replies

9. Solaris

SunOS confusing root directory and user home directory

Hello, I've just started using a Solaris machine with SunOS 5.10. After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init). ... (2 Replies)
Discussion started by: egyassun
2 Replies
tapset::nfs(3stap)														tapset::nfs(3stap)

NAME
tapset::nfs - systemtap nfs tapset DESCRIPTION
nfs.fop.llseek NFS client llseek operation See probe::nfs.fop.llseek(3stap) for details. nfs.fop.read NFS client read operation See probe::nfs.fop.read(3stap) for details. nfs.fop.write NFS client write operation See probe::nfs.fop.write(3stap) for details. nfs.fop.aio_read NFS client aio_read file operation See probe::nfs.fop.aio_read(3stap) for details. nfs.fop.aio_write NFS client aio_write file operation See probe::nfs.fop.aio_write(3stap) for details. nfs.fop.mmap NFS client mmap operation See probe::nfs.fop.mmap(3stap) for details. nfs.fop.open NFS client file open operation See probe::nfs.fop.open(3stap) for details. nfs.fop.flush NFS client flush file operation See probe::nfs.fop.flush(3stap) for details. nfs.fop.release NFS client release page operation See probe::nfs.fop.release(3stap) for details. nfs.fop.fsync NFS client fsync operation See probe::nfs.fop.fsync(3stap) for details. nfs.fop.lock NFS client file lock operation See probe::nfs.fop.lock(3stap) for details. nfs.fop.sendfile NFS client send file operation See probe::nfs.fop.sendfile(3stap) for details. nfs.fop.check_flags NFS client checking flag operation See probe::nfs.fop.check_flags(3stap) for details. nfs.aop.readpage NFS client synchronously reading a page See probe::nfs.aop.readpage(3stap) for details. nfs.aop.readpages NFS client reading multiple pages See probe::nfs.aop.readpages(3stap) for details. nfs.aop.set_page_dirty NFS client marking page as dirty See probe::nfs.aop.set_page_dirty(3stap) for details. nfs.aop.writepage NFS client writing a mapped page to the NFS server See probe::nfs.aop.writepage(3stap) for details. nfs.aop.writepages NFS client writing several dirty pages to the NFS server See probe::nfs.aop.writepages(3stap) for details. nfs.aop.write_begin NFS client begin to write data See probe::nfs.aop.write_begin(3stap) for details. nfs.aop.write_end NFS client complete writing data See probe::nfs.aop.write_end(3stap) for details. nfs.aop.release_page NFS client releasing page See probe::nfs.aop.release_page(3stap) for details. SEE ALSO
probe::nfs.fop.llseek(3stap), probe::nfs.fop.read(3stap), probe::nfs.fop.write(3stap), probe::nfs.fop.aio_read(3stap), probe::nfs.fop.aio_write(3stap), probe::nfs.fop.mmap(3stap), probe::nfs.fop.open(3stap), probe::nfs.fop.flush(3stap), probe::nfs.fop.release(3stap), probe::nfs.fop.fsync(3stap), probe::nfs.fop.lock(3stap), probe::nfs.fop.sendfile(3stap), probe::nfs.fop.check_flags(3stap), probe::nfs.aop.readpage(3stap), probe::nfs.aop.readpages(3stap), probe::nfs.aop.set_page_dirty(3stap), probe::nfs.aop.writepage(3stap), probe::nfs.aop.writepages(3stap), probe::nfs.aop.write_begin(3stap), probe::nfs.aop.write_end(3stap), probe::nfs.aop.release_page(3stap), stap(1), stapprobes(3stap) IBM
--- tapset::nfs(3stap)
All times are GMT -4. The time now is 06:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy