Sponsored Content
Full Discussion: File permission problems.
Top Forums UNIX for Dummies Questions & Answers File permission problems. Post 302207225 by The Nemi on Thursday 19th of June 2008 11:03:59 AM
Old 06-19-2008
Question File permission problems.

Hi all,

I am on SunOS 5.8 box. The problem is when i move files from one folder to another the command is executed and file is moved, but file permissions in the destination folder are "----------". i have to chmod the file and change the permissions everytime. i dont have a clue why this is happening.

Also i am having problems using the mailx command. when i execute the mailx command a temp file is created in the /tmp folder with "---------" permissions and when the mailx tries to use that temp file it says permission denied as the file does not have any permissions.

Please let me know if anyone has had the same kind of problem before and how did they manage to solve it or anyone knows the reson why this is happening.

Thank you,
Nemi.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

File Permission

I have written a shell script function, this function reads a encrypted a file and does some processing. I want to give execute permissions to others but I don't want to give read access to the shell script function. Since the shell script function know how to open the encrypted file so that's why... (6 Replies)
Discussion started by: sanjay92
6 Replies

2. Shell Programming and Scripting

Scripting file permission problems...

Hello all - I have two systems. 1) Linux box running Redhat 8.0 2) Tru64 box running V4.0f From the Linux box I am remotely mounting a directory (nfs mount) that resides on the Tru64 machine. The directory that is nfs mounted contains two subdirectories: my_dir1 my_dir2 I want... (3 Replies)
Discussion started by: Heron
3 Replies

3. UNIX for Advanced & Expert Users

File Permission

User - sysopr need to convert the output file from Oracle UTL_FILE_DIR using dos2unix command. However, the file owner and the group is belongs to oracle with dba group as follows: -rw-r--r-- 1 oradw dba 22049864 May 23 15:37 transmission*.csv What are the possible methods to... (2 Replies)
Discussion started by: KhawHL
2 Replies

4. UNIX for Dummies Questions & Answers

File Permission

Hi, When I listed one directory in Sun, it showed that : -rwsr-xr-x 1 root bsmbin 78004 Oct 21 2004 bsmprsm I don't know meaning of the character "s" in "rws" above. I have searched in Sun admin documents but no result. Would you please explain it ? :) Thank you so much. (1 Reply)
Discussion started by: msg098
1 Replies

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

6. Web Development

Permission problems calling Ruby from php script

I'm just getting my feet wet with web development, so hopefully this is a simple thing I'm overlooking, but so far I'm stumped. I have a php script that calls Ruby via exec(). This works fine in my test environment, but when I moved it to my production environment I run into a permissions... (7 Replies)
Discussion started by: dantes990
7 Replies

7. Ubuntu

File permission

Hi Friends, I want to create one user on my server in such a way that when he logged in by ssh on server,he can able to access ONLY /var/www/drupal-6.2 this directory. Please tell me how should i do that. (4 Replies)
Discussion started by: paragnehete
4 Replies

8. UNIX for Dummies Questions & Answers

Sendmail dir permission problems.

I accidently deleted the queue directory and now i'm receiving this error when I try to send email with sendmail. :~# mailq MSP Queue status... /var/spool/mqueue-client (1 request) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- s495xA7J002673 ... (1 Reply)
Discussion started by: galford
1 Replies

9. Shell Programming and Scripting

MV file with other permission

Hello All I have a file with rw-rw-r permission I need to mv the file into different directory (dir has rwx-rwx-rwx permission) with an others permission The application which is moving the file falls in other group I am getting the error mv cannot renamed permission denied ... (12 Replies)
Discussion started by: Pratik4891
12 Replies

10. HP-UX

File permission

Hi, Could you please tell me the OS command to grant as similar to below permission? rwxrwxr-x OS -- HP-UX Regards, Maddy (8 Replies)
Discussion started by: Maddy123
8 Replies
PACKF(1)                                                             [nmh-1.5]                                                            PACKF(1)

NAME
packf - pack messages in nmh folder into a single file SYNOPSIS
packf [+folder] [msgs] [-file name] [-mbox] [-mmdf] [-version] [-help] DESCRIPTION
Packf will pack copies of messages from a folder, into a single file. If the -mbox switch is given (the default), then the messages are separated using mbox (uucp) style delimiters. This is the format used by most mail clients (elm, mailx, etc.). If the -mmdf switch is given, then the messages are separated by mmdf style delimiters. Each message in the file is separated by four CTRL-A's and a newline. You may specify the name of the file in which to use with the -file name switch. If you do not specify the name of the file, it will default to "msgbox". If the given file name points to an existing file, then the specified messages will be appended to the end of the file, otherwise the file will be created and the messages appended. packf makes an mbox-style delimiter by examining the first line of the message. If the first line is a "Return-Path" field, its address and the current date and time are used. Otherwise, if the first line has an "X-Envelope-From" field, its contents (which should already be in the correct format) are used. Otherwise, a dummy address and the current date and time are used. Messages that are packed by packf can be unpacked using inc. FILES
$HOME/.mh_profile The user profile .msgbox.map A binary index of the file PROFILE COMPONENTS
Path: To determine the user's nmh directory Current-Folder: To find the default current folder Msg-Protect: To set mode when creating a new `file' SEE ALSO
inc(1), msh(1) DEFAULTS
`+folder' defaults to the current folder `msgs' defaults to all `-mbox' `-file ./msgbox' CONTEXT
If a folder is given, it will become the current folder. The first message packed will become the current message. MH.6.8 11 June 2012 PACKF(1)
All times are GMT -4. The time now is 06:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy