Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Checking if the directory has read and write permission Post 303032476 by RavinderSingh13 on Tuesday 19th of March 2019 04:14:07 AM
Old 03-19-2019
Hello raka123,

Welcome to UNIX forums, good that you are showing us your effort/code sample; but mentioning 1 liner in title will NOT help people to help you.
So kindly update your post with complete details about your complete ask. Wherever applicable try to post samples of input and expected output too.


Thanks,
R. Singh
 

9 More Discussions You Might Find Interesting

1. Programming

How to read and write directory or file contents in c++ ?

Dear Friends, I m beginner unix programmer. I want to know, how to read and write directory or file contents in c++ ? (3 Replies)
Discussion started by: namrata5
3 Replies

2. 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

3. 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

4. Shell Programming and Scripting

perl script to check read/write/execute permission for 'others'

I want to check access rights permissions not for 'user', not for 'group', but for 'others'. I want to do it by system command in which i want to use 'ls -l' and 'awk' command. I have written the following program : #!/usr/bin/local/perl #include <stdlib.h> system ("ls -l | awk... (1 Reply)
Discussion started by: shubhamsachdeva
1 Replies

5. Ubuntu

how to make others have read/write permission when the aotu mounted usb flash disk pluge in ?

hi all: as we know , when usb flash disk plug in and aotu mounted , the default permission of the usb flash disk is 700. that means others have no permission . the question: how to make others have read/write permission when the aotu mounted usb flash disk pluge in ? thanks !! (0 Replies)
Discussion started by: arnold.king
0 Replies

6. Web Development

Apache write permission issues to another user owned directory

Hi I am trying to make a web program which is command line equivalent. i have done the coding in cgi program in perl and html for basic forms to take inputs. when i ran the program from web application i see permission denied messages. after analyzing i found apache is running as wwwrun which... (2 Replies)
Discussion started by: rakeshkumar
2 Replies

7. AIX

Assign read write permission to the user for specific dir and it's sub dir and files in AIX

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies

8. Solaris

Giving read write permission to user for specific directories and sub directories.

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. This is for Solaris. Please help. (1 Reply)
Discussion started by: blinkingdan
1 Replies

9. UNIX for Beginners Questions & Answers

Linux sftp — how to add new user to access exist directory with write permission?

I have built a website and I can access and edit the website'files on server via the root user. The current file and directory structures are not changeable. Now I am hiring a webpage designer to help me re-design some pages, I am going to let the designer edit the files directly on the server. So... (5 Replies)
Discussion started by: uwo-g-xw
5 Replies
RTF_CREATE_DOWNSAMPLER(3)					 rtfilter library					 RTF_CREATE_DOWNSAMPLER(3)

NAME
rtf_create_downsampler - Creates downsampling filter SYNOPSIS
#include <rtfilter.h> hfilter rtf_create_downsampler(unsigned int nch, int type, unsigned int r); DESCRIPTION
rtf_create_downsampler() creates a filter that downsamples signals coming from nch channels of type type (see rtf_create_filter(3)) by a decimation factor of r (i.e. the sampling frequency of the input will be r times the sampling frequency of the output). This is achieved internally by applying a lowpass 4-order Chebychev filter to the input data using a normalized cutoff frequency of 0.8/(2*r) and decimating the result every r samples. RETURN VALUE
Returns the handle to the created filter in case of success, NULL otherwise. NOTES
On the contrary of most other filters, the number of samples returned by rtf_filter(3) is different than the input (as expected) but also may vary at each call if the number of sample supplied in input is not a multiple of r. SEE ALSO
rtf_filter(3), rtf_create_filter(3), rtf_destroy_filter(3) EPFL
2010 RTF_CREATE_DOWNSAMPLER(3)
All times are GMT -4. The time now is 09:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy