Visit Our UNIX and Linux User Community


Does there exist a UNIX command to prevent docs' versions from uncontrolled erasing on logging in?


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Does there exist a UNIX command to prevent docs' versions from uncontrolled erasing on logging in?
# 1  
Old 01-16-2016
Does there exist a UNIX command to prevent docs' versions from uncontrolled erasing on logging in?

So far nobody on ASC, nor anywhere was able to respond to my issue and Google wasn't much of help either.

I started to experience the issue some time ago: my OS is Lion 10.7.5. It occurs in all apps that have the function of versioning (iWork which I have updated up to v9.2, namely, Pages 4.2, Numbers 2.2, Keynote 5.2; TextEdit, Preview, Automator, perhaps ScriptEditor which I don't use but which might be the app that creates docs, and thus chances are is prone to the issue too). The symptoms include the following behavior:

I create a document, while I'm working being logged into current session I'm able to browse all the versions. Then two scenarios follow:

1. I log out and in this case when starting a new session and continuing my work in one of aforementioned apps I find all versions unavailable to view with the line No previous versions available in the black placeholder where the cascade of previous versions is typically shown. (see the pic below)

2. When going to the hidden folder named /.DocumentRevisions-V100-bad-1 I'm able to see all the versions of all the docs I'm currently working with (or was working recently) stored in its corresponding subfolders but unable to open them with the popping message reading something like "the file [a long line combined of digits and letters] cannot be opened because its format is unsupported" (not 100% accurate as don't remember exact wording). Prior to that I had been able to open all these files in this hidden directory successfully but later something happened that prevents me from doing so. In the second pic you can see all these files. The files with .srt tag are normally opened with TextEdit.

The last and the oddest thing is that even these are erased after some time for the reason I can't state with 100% certainty but that I guess is somehow related to logging out and in.

I attempted a number of fixes within the scope of my knowledge including changing permissions/ownership recursively of this hidden directory to my username but it seems it worked for a short span of time only to renew later.

So I arrived to conclusion that this is under the hood issue and executing series of UNIX commands could help.

Do there exist such commands?

Thanks for your help
Appreciated greatly
Does there exist a UNIX command to prevent docs' versions from uncontrolled erasing on logging in?-versionspng
Does there exist a UNIX command to prevent docs' versions from uncontrolled erasing on logging in?-versions_hiddenpng

Last edited by scrutinizerix; 02-29-2016 at 02:13 PM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #895
Difficulty: Medium
The GNU Core Utilities or coreutils is a package of GNU software containing reimplementations for many of the basic tools, such as cat, ls, and rm, which are used on Unix-like operating systems.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How can i run sql queries from UNIX shell script and retrieve data into text docs of UNIX?

Please share the doc asap as very urgently required. (1 Reply)
Discussion started by: 24ajay
1 Replies

2. Solaris

How can i prevent logging user1 from console?

Dear all, i have two users user1 and user2 i want force user1 to login first by user2 and then su - user1 i want to prevent logging user1 from console directly (5 Replies)
Discussion started by: maxim42
5 Replies

3. Shell Programming and Scripting

How to prevent command from deleted

Hi, I've been searching around for solution, hope that some gurus here can help. I'm using some commands in my shell script and I'd like to protect these command to be moved to another directory. For instance, cp currently in /bin/cp. If I move it to /bin/cpxxx, my script will not be able to... (3 Replies)
Discussion started by: gklntn
3 Replies

4. UNIX for Dummies Questions & Answers

Logging Command Line and Output in Unix

Hi, This might be a bit stupid question, but what command to use to create like a session which logs the command line, and output on to the screen? Basically, a log to a file, where I can review what I had install, uninstall, etc. Thank you (4 Replies)
Discussion started by: kittoinc
4 Replies

5. UNIX for Dummies Questions & Answers

Possibility of logging into linux machine when the user does not exist locally

Hi, I am trying authenticate ssh users login using third party server (radius) instead of local system authentication. I have modified my /etc/pam.d/sshd with required server auth configuration and able to authenticate user using radius server and the user is able to ssh into this linux... (2 Replies)
Discussion started by: dhandapanik
2 Replies

6. UNIX for Dummies Questions & Answers

need some good unix scripting docs for the beginers

Hi, Could someboby share a good unix doc covering sed,awk n gsub etc..i do get some info on web..but i prefer some very good doc... Thanks...:) Plz send it to balajigrt@gmail.com (1 Reply)
Discussion started by: Balaji Sukumara
1 Replies

7. Solaris

Prevent users logging in as root

I would like to know how to prevent users connecting to a server using SSH as root. I would still like them to be able to login with their username and then change to su. But I would like to prevent them logging in directly as root. I have searched the forum and read that I should set... (3 Replies)
Discussion started by: Sepia
3 Replies

8. UNIX for Dummies Questions & Answers

Versions of UNIX

Hi all: I was just wondering if someone could tell me what versions of UNIX are available to public? I'm aware of all the available distro's for Linux e.g. Debain, SuSe, RedHat, etc ... However you never really here much about UNIX distro's! Is UNIX BDS a common one in use? Thanks Oliver (4 Replies)
Discussion started by: oliver79
4 Replies

9. AIX

Some command line docs

hi gurus, i am new to the AIX 5.3, if some one can provide the document related to the full command list with help, and other system admin related docs, it would be very helpful for me. With Best Regards Deepak (1 Reply)
Discussion started by: deepaksachdeva
1 Replies

10. UNIX for Dummies Questions & Answers

What different versions of UNIX are there?

Aside from the normal Linux distros, OS X, and the BSDs, what other forms of UNIX are there? I want to try one on a very old 75mhz box I have. Thanks in advance. (3 Replies)
Discussion started by: AMDPwred
3 Replies

Featured Tech Videos