02-10-2011
Ya, we are trying to mount usb flash drive for the user which runs on LTSP server. What happens is that, sometimes if the UID is changed for the user he cannot access his pen drive so if we delete it from the /tmp and add a line of his UID in /etc/mtab, it starts working. So there is no harm to delete from the /tmp
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
there is a directory eg. /home/edp/ , all the files under this directory :
1. the file and directory owner is "user1" ,
2. the permission is 644
I want everyone hv permission to overwrite all files and write a new file to it , but I want the file owner and permssion keep unchange , could... (1 Reply)
Discussion started by: ust
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
We are facing problem to delete some logfiles. Explaing with example for clear understanding :
we have 2 accounts : prdpqrs (application account) & prodxyz (admin account - not root). Both of them are in same group called 'release'
While prodxyz is trying to remove a file owned by... (4 Replies)
Discussion started by: sabyasm
4 Replies
3. UNIX for Advanced & Expert Users
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
All,
I am running a script , which has permision as below
-r-xr-x--- 1 pmgr ffw 11660 Sep 3 2003 ccln
and tring to delete the file in the directory inter
(sys212:pct:/>) ll | grep ^d
dr-xr-xr-x 32 bin bin 8192 Dec 24 03:24 etc
drwxr-xr-x 32... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
5. Cybersecurity
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. UNIX for Dummies Questions & Answers
i have two user named sourav and jishu.
i have created a file named source.txt in sourav.
i made another user called shovon.
i want to give read write permission of souce.txt for shovon but not for jishu.
how can i set permission only for jishu ? (1 Reply)
Discussion started by: sourav_ray
1 Replies
7. Post Here to Contact Site Administrators and Moderators
i think we should also have the permissions to delete our own thread (3 Replies)
Discussion started by: tarunicon
3 Replies
8. Solaris
Hi,
I have a directory /u01/source.
Following are current permission on directory source.
oracle@TEST # ls -l source
drwxrwxrwx 2 user1 userbi 31232 Apr 8 13:33 EG1
drwxrwxrwx 2 user1 userbi 1024 Apr 8 05:45 E2
drwxrwxrwx 2 user1 userbi 57344 Mar 15 10:22 h5
There is another ... (4 Replies)
Discussion started by: fahdmirza
4 Replies
9. Red Hat
ENVIROMENT
Linux: Fedora Core release 1 (Yarrow)
iPlanet: iPlanet-WebServer-Enterprise/6.0SP1
Log Path: /usr/iplanet/servers/https-company/logs
I have iPlanet log rotation enabled rotating files on a daily basis.
The rotated logs are NOT compressed & are taking up too much space.
I... (7 Replies)
Discussion started by: zachs
7 Replies
10. Shell Programming and Scripting
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
LEARN ABOUT V7
pts_delete
PTS_DELETE(1) AFS Command Reference PTS_DELETE(1)
NAME
pts_delete - Deletes a Protection Database entry
SYNOPSIS
pts delete -nameorid <user or group name or id>+
[-cell <cell name>] [-noauth] [-localauth]
[-force] [-help]
pts d -na <user or group name or id>+
[-c <cell name>] [-no] [-l] [-f] [-h]
DESCRIPTION
The pts delete command removes each entry specified by the -nameorid argument from the Protection Database. Deleting entries affects other
parts of the system in various ways:
o Deleted users and groups still appear on access control lists (ACLs), but are listed by AFS UID or GID rather than by name, because
there is no longer an associated name to which to translate the ID. To remove these obsolete entries from ACLs, use the fs cleanacl
command.
o Deleting a user or machine's entry removes it from the membership list of any group to which it belonged.
o Deleting a group entry removes it from the membership list of any user or machine entry that belonged to the group, and also increments
the group-creation quota of the group's creator by one, even if the creator no longer owns the group.
To remove a user or machine from a group without actually deleting the entry, use the pts removeuser command.
OPTIONS
-nameorid <user or group name or ID>+
Specifies the name or AFS UID of each user, the name or AFS GID of each group, or the IP address (complete or wildcard-style) or AFS
UID of each machine entry to delete. It is acceptable to mix users, machines, and groups on the same command line, as well as names (IP
addresses for machines) and IDs. Precede the GID of each group with a hyphen to indicate that it is negative.
-cell <cell name>
Names the cell in which to run the command. For more details, see pts(1).
-force
Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the
first error.
-help
Prints the online help for this command. All other valid options are ignored.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. Do not combine this flag with the -cell or
-noauth options. For more details, see pts(1).
-noauth
Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1).
EXAMPLES
The following example deletes the user entries "pat" and "terry":
% pts delete pat terry
The following example deletes the Protection Database entry of the group with AFS GID -215.
% pts delete -215
PRIVILEGE REQUIRED
The issuer must belong to the system:administrators group to delete user and machine entries. To delete group entries, the issuer must
either own the group or belong to the system:administrators group.
SEE ALSO
fs_cleanacl(1), pts(1), pts_removeuser(1)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2014-04-08 PTS_DELETE(1)