01-15-2014
First off, 777 is not the magic sledgehammer to fix all permissions problems. That drwxrwxrwx folder is a hazard and should be fixed.
You left out the most important information -- who the folder belongs to, who you are, what group the folder belongs to, and what groups you belong to. Knowing that, we could find a solution for you besides the magic sledgehammer.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am working on a new UNIX box that has been delivered to us, and noticed that the /home directory has 555 permissions on it (dr-xr-xr-x). Any attempt to create write permissions fails on this directory (such as chmod 777), responding only with a message;
chmod: WARNING: can't change home
... (3 Replies)
Discussion started by: ncarmstrong
3 Replies
2. Shell Programming and Scripting
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
Read and write bits make sense for a directory but what about the execute permission bit
What does that imply?Is it just a filler?
Saurabh (3 Replies)
Discussion started by: smehra
3 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I have a situation where plenty of users log in to the same directory and put in files. When they put in the files, I need those files to become group writable (chmod g+w) automatically. I have no control over the users' profiles. Is there a way to do it? (1 Reply)
Discussion started by: praveen_indramo
1 Replies
5. UNIX for Dummies Questions & Answers
Hi all.
Only one of the following makes any kind of sense as a possible permission field for a UNIX file. Which one?
--w-------
----rwxrwx
-r--------
--rwx-----
----r-----
I think it is no. 3. I dont think it would be 2, because why would you want to give groups and... (1 Reply)
Discussion started by: hawaiifiver
1 Replies
6. UNIX for Dummies Questions & Answers
i know about ls, I know.... but some of our shares have a long messy list of acls and it is a lot to sort through.. without a grep option, unless you have a really nice one, is there a simple way to say: show me <USER> acl permissions on <SHARE> ? (1 Reply)
Discussion started by: glev2005
1 Replies
7. Shell Programming and Scripting
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
8. UNIX for Dummies Questions & Answers
Hi, Im getting this annoying problem on file permission when I copy a folder to a mounted external directory. the files inside the copied folders become all executable. I tried to search for ways how to undo the permission over the web but to no avail.
tried this one but it doesnt change a... (2 Replies)
Discussion started by: ida1215
2 Replies
9. Solaris
we want to allow user to FTP files into a directory, and then the program (PLSQL) will read and process the file, and then move the file to other directory for archiving.
the user id: uftp1, group: ftp
the program run in oracle database, thus have the user Id: oraprod, group: dba
how to... (2 Replies)
Discussion started by: siakhooi
2 Replies
10. UNIX for Dummies Questions & Answers
i have an application that writes to a directory. let's call the directory:
/var/app/
the permissions of this directory is:
drwxrwxr-x
Now the files that the application creates in this directory usually dont have read permissions for others.
i know there's something called... (3 Replies)
Discussion started by: SkySmart
3 Replies
mhpath(1) General Commands Manual mhpath(1)
NAME
mhpath - print full pathnames of MH messages and folders (only available within the message handling system, mh)
SYNOPSIS
mhpath [+foldername] [msgs] [-help]
OPTIONS
Prints a list of the valid options to this command.
DESCRIPTION
Use the mhpath command to display the full pathname of the specified folder. If you do not specify a folder, mhpath displays the pathname
of the current folder.
If you specify a message with its message number, mhpath displays the pathname of the specified message. You can also specify a number of
messages, or a range of messages. If the top of the range that you specify is greater than the last message in the folder, mhpath displays
as much of the specified range as possible.
Additionally mhpath can take a keyword or a sequence name. The following keywords are acceptable: The first message in the folder. The
last message in the folder. The message after the last message in the folder. You cannot use new as part of a message range. The current
message in the folder. The message before the current message. The message after the current message. All of the messages in the folder.
PROFILE COMPONENTS
Path: To determine your Mail directory
EXAMPLES
In the following example, mhpath displays message 3 in the folder +inbox: % mhpath +inbox 3 /r/phyl/Mail/inbox The following example dis-
plays the pathname of messages 2 to 5 in the current folder: % mhpath 2-5 /r/phyl/Mail/inbox/2 /r/phyl/Mail/inbox/3 /r/phyl/Mail/inbox/4
/r/phyl/Mail/inbox/5
FILES
The user profile.
SEE ALSO
folder(1)
mhpath(1)