Sponsored Content
Operating Systems Linux Debian Turning on write-permission in Debian? Post 302070272 by riwa on Monday 3rd of April 2006 03:46:13 PM
Old 04-03-2006
Turning on write-permission in Debian?

How can i do that? Is it safe? Why is it disabled by default?

Thanks
/Richard

++
ie: the program to write to other users on my computer.
--
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find all files with group read OR group write OR user write permission

I need to find all the files that have group Read or Write permission or files that have user write permission. This is what I have so far: find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}' It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies

2. Shell Programming and Scripting

write permission to a perticular user to a directory

Hi, The requirement is like, the program needs 2 argument one is user_id and second one is directory path. My script will check if that user_id has write access to the directory path. The directory path may be in any file system like AFS or NFS. Can any one please suggest some points to... (1 Reply)
Discussion started by: siba.s.nayak
1 Replies

3. Shell Programming and Scripting

Giving write permission to multiple directories

Hi, i am having following directory structure Folder1 -> Folder2 -> Folder3 Folder4 Folder5 Now i am at top level and want to assign write permission to all the folder & files in it. i am... (3 Replies)
Discussion started by: sarbjit
3 Replies

4. UNIX for Dummies Questions & Answers

Need to remove Group write permission .

How would i write a command that can find all the objects under the etc directory that have group write permission enabled and have not been accessed in the last X days. This is what i got from internet souce but i m not able to modify it according to my distribution. find /etc -perm... (1 Reply)
Discussion started by: pinga123
1 Replies

5. Debian

Write permission for USB device

Hello, I need to run an application in wine that requires write permission to a USB device. Wine users must not have root privileges. On FreeBSD this could be accomplished by adding the user to the wheel group but I am using Debian 6.0. From looking at the passwd file it is not obvious what... (6 Replies)
Discussion started by: snorkack59
6 Replies

6. Red Hat

useradd w/o write permission on /etc/passwd

Hi root user creates a user using the useradd command. This command creates an entry in the /etc/passwd file. /etc/passwd file has rw permission for the root user. Now, if I happen to remove the w permission for the root user, useradd command still is successfully creating entry in the... (3 Replies)
Discussion started by: guruprasadpr
3 Replies

7. Shell Programming and Scripting

Is rsync --delete on some files without write permission possible?

Hello all, I have a problem with rsync command. From a backup server, I use a command like the one below: rsync -av --delete user@host:/home/user/ /home/backup_user/daily_rotating_backup/ In some folders of the user there are some files on which he has removed his write permission on... (3 Replies)
Discussion started by: freddie50
3 Replies

8. Red Hat

SE Linux write permission denied

Hi, In my server I am getting below errors in "/var/log/messages": Oct 8 14:45:44 LKOGOMEEMM01 kernel: type=1400 audit(1444295744.792:15818): avc: denied { write } for pid=53421 comm="ip" path="/var/VRTSvcs/log/tmp/IPMultiNIC-8" dev=dm-0 ino=2754879 scontext=system_u:system_r:ifconfig_t:s0... (4 Replies)
Discussion started by: rochitsharma
4 Replies

9. UNIX for Beginners Questions & Answers

Setting write permission for particular user

Hi All, We have a scenario in production where we want only one user from a group to modify the file. The file is not set to write permission for application manager. -r--r--r-- 1 amgr u00 15661716 Aug 30 00:06 DCI.dat So here amgr will have permission to edit the file. We want a... (10 Replies)
Discussion started by: arunkumar_mca
10 Replies

10. UNIX for Beginners Questions & Answers

Checking if the directory has read and write permission

logMsg='Started by '${USER} LOG_MESSAGE "${logMsg}" resultCode=$? if ]; then return ${resultCode} fi touch ${FILELISTPATH} resultCode=$? if ]; then logMsg='failed to create file list:'${FILELISTPATH} LOG_ERROR "${logMsg}" CUSTOM_PREPROCESS ${FATAL} ... (2 Replies)
Discussion started by: raka123
2 Replies
copy_on_write(5)						File Formats Manual						  copy_on_write(5)

NAME
copy_on_write - dynamically enable or disable copy-on-write semantics for privately mapped files, private segments of child process after fork(), and private segments locked by mlock() VALUES
Failsafe Default Allowed values or DESCRIPTION
This tunable dynamically enables or disables the copy-on-write behavior in private and system calls. When the tunable is disabled, copy- on-access behavior is followed; this is the legacy behavior (HP-UX 11i v3 and previous releases) where private segments are copied upon access. Disabling this tunable will preserve that old behavior. Following is a summary of what happens when the tunable is enabled: o For a process' private data (data segment, stack, heap, RSE) is copied only when the child process writes for the first time. o For if mapping is created for a file for which exists, a separate copy of the page is created for only when it first writes to the page. As long as reads, it shares the page with mapping. That is, updates made by shared mapping will be visible to private mapping until private mapping writes. o For locking privately mapped segments does not result in copying those segments. However, segments are locked in memory and only when the content of the page changes, a copy is made and the lock is transferred to the new segment. Who Is Expected to Change This Tunable? System administrators who wish to change the default copy-on-write behavior. Restrictions on Changing Changes to this tunable take effect immediately. When Should the Tunable Be Turned Off? If an application depends on copy-on-access behavior, where a process accessing a privately mapped file for the first time gets a copy of the page and the contents of the page does not change unless private mapping writes to it, the tunable should be turned off to get copy-on- access behavior. What Are the Side Effects of Turning the Tunable Off? Some workloads might see increased memory consumption since private segments are copied when accessed for the first time. When Should the Tunable Be Turned On? If an application wants industry standard semantics, which allows users to share data via private mapping of a file for which shared map- ping exists, the tunable should be enabled. Turning the tunable on can also reduce memory consumption on some workloads since private seg- ments are only copied upon write. What Are the Side Effects of Turning the Tunable On? Applications that privately map a file for which shared mapping exists can now see the updates performed by shared mapping. What Other Tunables Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
fork(2), mlock(2), mmap(2). Tunable Kernel Parameters copy_on_write(5)
All times are GMT -4. The time now is 04:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy