07-15-2010
I log as root but unfortunately only tomorrow I can show you the exact output of ls -l command.
I'll also try with vi to see if it works and let you know jgt.
Thank you!!!
---------- Post updated 07-15-10 at 09:53 AM ---------- Previous update was 07-14-10 at 12:07 PM ----------
I tried to find out if there were non printing characters in the file name. The output of the command ls -b (ls -q) was:
250SocatSC
forest
mountain
These are the files that I work with (scanned images). For two of them I got the message from the title of this thread even when I try to change their permission with chmod command. The last file is working properly. I can do whatever I like with it.
For mikep9 the output of the command ls -l is:
-rw-r--r-- 18345628 July 14 20:10 250SocatSC
-rw-r--r-- 18345628 July 14 21:00 forest
-rw-r--r-- 18345628 July 14 20:30 mountain
Any other advice?
Last edited by 78air; 07-14-2010 at 05:13 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I am a beginner to unix and ftp too.So i request your valuable comments.
Requirement:
I want to put a specific file into a server(linux) and under a particular directory path in that server as /caps/details/data/
Problem :
I login to that server through the command `ftp... (1 Reply)
Discussion started by: DILEEP410
1 Replies
2. UNIX for Dummies Questions & Answers
I am getting an error while trying to access a directory created with spaces in between, i couldn't able to login into that directory could you please suggest me what should i do to access that directory or if i want to rename that directory what should i do.
Directory Name:
MH PLR 2005... (1 Reply)
Discussion started by: Ariean
1 Replies
3. Solaris
Dear All,
I have created a user called "x" who is allowed only to FTP and it is working fine. Here my problem is, I want to give access to a particular directory say for eg:- /dump/test directory. I don't find any option in the useradd command to restrict access to this particular directory only... (1 Reply)
Discussion started by: Vijayakumarpc
1 Replies
4. Solaris
is there a way to create a user and limit him to read,write and execute only in one direcotry.
the directory is already exsist and it belongs to dba group.
i would like to make this user can't even cd to another directory or even if he can he cant do anything in the other directories.
if... (7 Replies)
Discussion started by: q8devilish
7 Replies
5. UNIX for Advanced & Expert Users
Hello,
We need to log the operations that specific user on Solaris 10 (SPARC) is performing on one directory and it's contents. I was able to configure solaris auditing service (auditd) and it works fine. The only problem is that auditd logs huge amount of unneeded information. We need to log... (0 Replies)
Discussion started by: +Yan
0 Replies
6. UNIX for Advanced & Expert Users
RHEL5.0
As we know, when root create a new user, a new home directory will be created : /home/user
I want to know what determine the access permission of /home/user .
Thanks! (1 Reply)
Discussion started by: cqlouis
1 Replies
7. AIX
Good day. I currently have a request to have sftp access to a specific directory for a user(s). They can have access to that folder only, and nothing below it.
Now here is the gotcha that seems to be catching me. The folder they need access to is NOT owned by root, and most of the parent... (0 Replies)
Discussion started by: smurphy_it
0 Replies
8. Red Hat
path = /opt
writeable = yes
; browseable = yes
# guest ok = no
valid users = oracle
path = /opt/TEST8000/oracle/apps/apps_st/appl/ffcl/12.0.0/reports/US
writeable = yes
; browseable = yes
valid users = oracle
path... (1 Reply)
Discussion started by: rehantayyab82
1 Replies
9. Ubuntu
Hi, I'm new to this... but I am unable to see /etc, however I can access it via gknautilus... but as superuser I'm getting told no such file or directory via terminal (15 Replies)
Discussion started by: GaryW
15 Replies
10. AIX
I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users.
The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies
CHKSTAT(8) Tool to check and set file permissions CHKSTAT(8)
NAME
chkstat - Tool to check and set file permissions
SYNOPSIS
chkstat [--set|-set] [--noheader] [[--examine file ]...] [[--files filelist ]...] [[--root directory ]...] permission-file ...
DESCRIPTION
The program /usr/bin/chkstat is a tool to check and set file permissions.
Multiple permissions files can be given on the commandline. If the permission files contain multiple entries for a single file, the last
entry found will be used.
General Options
--set, -set
This option enables setting the file permissions, the default is to check and warn only.
--noheader
Omit printing the output header lines.
--examine file
Check permissions for this file and not all files listed in the permissions files.
--files filelist
Check permissions for the files listed in filelist and not for all files listed in the permissions files.
--root directory
Prefix the files given in the permissions files by this directory.
EXAMPLE
The command
chkstat -set /etc/permissions
will parse the file /etc/permissions and set the access mode and the user- and group memberships each file listed. The format for the input
file is
FILEPATH OWNER:GROUP MODE
and wildcards are not supported for the filepath. Lines starting with '#' and empty lines are treated as comments.
COPYRIGHT
1996-2003 SuSE Linux AG, Nuernberg, Germany.
2008 SUSE LINUX Products GmbH
AUTHORS
Reinhold Sojer, Ruediger Oertel, Michael Schroeder
Useful changes and additions by Tobias Burnus
3rd Berkeley Distribution 2008-04-17 CHKSTAT(8)