Ubuntu :: Make Certain Files/folders Invisible To Specific Users?

Jan 7, 2011

I've got a NAS running and I'd like to somehow make some of the folders and files invisible to certain users only. For example, if I 'ls' a directory, I want to see files 'a', 'b', and 'c'. But if another user does 'ls' in the same directory, I only want them to be able to see 'a' listed.I know I can use 'chmod +700' to make certain files not able to be read/written, but the filename would still appear in a 'ls'.I know I can put certain files inside of a '.hidden' file in the folder, but then it would be hiEdit : I'd also like to mention that the users that connect to the NAS could be coming from Windows or Mac operating systems. So hopefully the solution would work for users from those systems also..

View 5 Replies


ADVERTISEMENT

Fedora :: Chmod 666 Makes Files And Folders Invisible?

Mar 31, 2010

I have a separate data partition on my F12 box with one dir for my children and subdirs for each of them. because they had no rw- rights and because they sometimes use one of the other logins to work for school I changed the permissions for their dir so that anyone has access. I used

Code:

# chmod -R 666 [their directory]

after that Nautilus displayed an empty folder even with 'show hidden files' on.however, with

Code:

ls -lh

on the dir and subdirs all the files seem to be present (luckily).

1. what did I wrong?

2. how do I get the files back using Nautilus?

View 6 Replies View Related

General :: Copy All Files And Folders From Specific Date?

May 26, 2011

I wanna copy all folders and files created from 01.01.2011 until today to new placeie:cp -r /home/moviecar/public_html/wp-content/uploads/ /home/teaser/public_html/wp-content/uploads

View 4 Replies View Related

Ubuntu :: Delete Specific Users Along With Their Files?

Jul 18, 2011

I am trying to delete specific users along with their files, these are the steps i am taking,

Quote:

sudo su -

Quote:

cat /etc/passwd

Quote:

userdel user1

userdel command not found.

I am not able to remove the specified user, Does anyone know how else to remove this user.

View 7 Replies View Related

General :: Moving Files From Folders And Subfolders To A Specific Folder?

Aug 21, 2010

I am using secure delete to remove files from a Debian Linux PC. However, secure delete does not remove folders. This has lead me to look at writing a script that would move files to a predetermined folder for deletion. My plan is as follows:I have a folder on my desktop called shredder where I move the contents of the waste bin to. The script needs to identify all files within the folders and sub folders, within the shredder folder, and move each file to the shredder folder and then delete the folder. At this point secure delete can be used with a command like shred -v -u *.*on the shredder folder.The problem I have is in creating the code to move files from the different folders and then deleting the folders. Note that the names of the files, folders and subfolders will not always be known

View 12 Replies View Related

General :: Write A Script To Move Specific Files In Various Folders To One Folder?

Nov 16, 2010

Terribly new to Linux and find it mindboggling. I work on brain imaging and unfortunately all of the analysis runs on Linux, and I do not understand computers well coming as I do from a medical background. So my question - There are various folders of patient MRI scans (folders called P1, P2, P3 etc) and within them are enclosed certain files that I am interested in (always called the same name in all folders, say image001). I would like a script that enables me to copy and move this image001 in all these individual folders to another folder altogether.

View 13 Replies View Related

Ubuntu :: Make Files And Folders Hidden?

Oct 1, 2010

is there any way to make files and folders hidden?

View 3 Replies View Related

Slackware :: Make A Browser Distinguish Between Files And Folders?

Oct 22, 2010

I'm playing with apache (and to be quite honest have no idea what I'm doing at this stage!) and currently have a large number of files and folders on the sad little site. One thing that is really bothering me is that files and folders both appear the same. I'm not looking for anything fancy. Something like this is more than adequate. Right now there is simply a dot next to each item.

View 2 Replies View Related

General :: Recursively Rename Files/folders To Make Their Names Windows-friendly?

Jan 29, 2011

I have a bunch of files on a Ubuntu box, which have various characters in their filenames that Windows doesn't accept (mostly ":" and "*", but possibly others).What's the simplest way to get these all renamed and moved to a Windows machine? It's OK to replace these characters with something like "[colon]" and "[asterisk]".

View 1 Replies View Related

Ubuntu Installation :: Can't Make A Distro Of That Offers To Users The Files And Apps For Use With Mono?

Mar 11, 2011

I would like to see when installing ubuntu a choice for users to choose what they want installed on their system or not. I know for a fact that there are some like myself that does not want mono runtime files or mono apps on their linux box and when we try to uninstall all the files or apps that link with mono ends up breaking the linux box.

My question is why can't ubuntu make a distro of ubuntu that offers to users the files and apps for use with mono and a choice for those users to install ubuntu with out the mono files or apps. There are somne of us that think mono is as bad as .net and some of us want a linux box that runs linux and not window files or apps unless they can be written as pure linux code and not C# crap. I feel that C or C++ is the real way to write linux code and anything written in C# is windows and always will be windows. If they want to put more windows stuff on ubuntu, then they shouldn't be calling it linux..

View 1 Replies View Related

General :: Hide And Make It All Invisible For One Another?

Jan 21, 2011

I run Ubuntu Lucid Lynx and users have access to other users directories and read files. How can i hide and make it all invisible for one another...?

View 11 Replies View Related

Ubuntu Networking :: Make Computer Invisible To Other Clients On A Wireless?

Dec 26, 2010

I want to make my computer invisible or hidden to the other computers connected to the same wireless network. In other words, I want to turn off network visibility or network mapping. I think this amounts to the ability to turn on and off the Windows Link-Layer Topology Discovery (LLTD) Responder. [URL]... On windows, I believe this would be comparable to setting the wireless network as Public instead of Home. I like to share files using Ubuntu when I am connected to my Home router, but I don't want to be discoverable or visible to clients on a public wifi network.

I have already created a shared folder on my desktop which installed some sort of networking components to interact with Windows, but I don't want the public wifi network to see this folder, or my computer name at all. I want to be invisible to other clients on the same network. Right now I am visible and can see other clients connected to this public wifi router.

(In case some ask: I do not want to disable SSID broadcasting on the router as it is a public wifi router that I do not have access to.) Can anyone explain how to do this (preferably with a GUI method so I can reverse the steps when I connect to my Home network)?

View 5 Replies View Related

Security :: Make The Command Line You Type Invisible

Jul 2, 2010

To hide the user input to be displayed on screen, use the terminal line setting command stty -echo, whatever the user enters after this command will not be displayed in the screen. to make the input characters get displayed on the screen use stty echo.

View 1 Replies View Related

CentOS 5 :: Invisible Mouse Cursor / Make It Visible?

Mar 22, 2010

My video card is Ati radeon HD 3730 i installed driver from official amd site.
And after installing driver cursor becomes invisible.
I tried

Option "HWCursor" "off"

View 2 Replies View Related

Ubuntu :: Files On Desktop Invisible?

Jun 16, 2010

Pressing CTRL+R on the desktop will display the hidden files.

View 6 Replies View Related

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

Ubuntu Servers :: 10.04 LTS - Mysql Fills Up / With Invisible Files?

Jul 23, 2010

I'm having the oddest problem. I use Ubuntu 10 LTS on 3 Amazon EC2 "large" instances, for Drupal hosting. All three servers are seeing the same issue, where root gradually fills up with files that I cannot see by any means. ls -a , du , nothing seems to see these files except for df. And when the drive gets full (after about a week), the server behaves as if the disk is full... so I believe that df is correct here. The moment I restart mysql, all that invisible data disappears, and everything is fine again.

The MySQL datadir is on a separate device (600GB EBS mounted at /ebs ), so it's definitely not MySQL data. And /tmp doesn't have anything visible going on; certainly not something that would take up 9gb.

I suspect that something is causing the kernel to not release file handlers correctly. For all I know this could be happening with all programs, but MySQL is the only thing running that would use enough temp space to be noticed. Each server has some applications that happen on it uniquely, but since it's happening on all of them I figure it's the common elements that count. The servers are a clean install, running Apache2 (PHP 5.3), MySQL, and SSHD. All three servers were installed from the official AMI.

View 1 Replies View Related

Ubuntu Networking :: Sharing Specific Folders Instead Of All Of /home?

Apr 25, 2010

I've being following this guide, which is great, and currently my samba.conf looks like this:

Code:
[global]
panic action = /usr/share/samba/panic-action %d
workgroup = "Name"
netbios name = "Server name"

[Code].....

As you can (maybe) see, my entire /home folder is shared. For various reasons, I'd prefer it if only say my music and videos were shared, how do I do that? I've looked around the web and seen some other people's samba.conf files but mine looks totally different and I don't want to lose the functionality I have by messing around with it.

View 1 Replies View Related

Ubuntu :: How To Use Procmail To Put Email In Specific User's Folders?

May 13, 2010

Here is what I want to do: have procmail get my mail from all of the different mail servers, and then put them in my inbox folder (I'm able to do all of this), but also have my emails sorted by domain into subfolders.So for example, procmail downloads my email, puts it into the gmail folder which is a subfolder of my inbox folder.I know how to get all of my email into the inbox folder - but not into a specific subfolder.

View 1 Replies View Related

OpenSUSE Network :: 11.4: Strange Nfs V4 - Invisible Files?

Mar 11, 2011

Yesterday I installed 11.4. First it did run very nice but now I am facing an odd problem: I am mounting on my new 11.4 box a folder via nfsv4 from an opensuse 11.2 server (updated to kernel 2.6.33.6).

I got some folders where the 11.4 cannot see files which are defenitely present on the server. They are completely invisible to the client! In one particular case I have eg. 108 files in the folder on the server, but the 11.4 box only sees 107. One is missing. It does not show up using ls and I also can't access it blindly using eg. cat. The file does not differ from all the others in that folder regarding permissions/ownership/acls etc. It is also not big (1728 bytes) nor is it a special file (link/socket etc.just a plain C header file). That single file is just not visible when mounting with nfsv4 on the 11.4 box. When mounting it with nfs3 instead the file is visible. But for obvious reasons I want to stick with nfsv4.

I restarted all nfs related daemons on both the server and the client a couple of times but it does not make any difference. I also cannot find any problems in any log files on the server or client up to now. I rebooted the client but not the server (I can't do that right now as it is in heavy production).

I do not see these problems with other opensuse boxes running 11.0/11.2 or 11.3 in my network. They can see/access these files quite nicely. This is really strange. Does any have a clue what is going on here or how I can narrow that problem down?

View 9 Replies View Related

Fedora :: Disable Access Time Specific FOLDERS?

Apr 27, 2011

Can anyone shed some light in this? Using Fedora 14-64, new install, 185 Opteron x 2 gig ram, sata hard drives formatted Ext4.However, in my home directory I have a folder for all my digital photos of which I have more than 20,000, and in another folder I have images and clipart of which I have almost 8,000. That is a lot of read only access to a significant number of files in my home directory.

How can I tell Fedora to not update the LAST ACCESS TIME of those files (specifically images) that will never actually be changed other than just being read. I want to leave that feature enabled for the rest of my home directory. I am trying t; improve my disk performance in Nautilus because whenever I access the folders with my images the system literally slows to a crawl and sometimes even the mouse stops working for several minutes until Nautilus has finished having its heart attack.

View 6 Replies View Related

Ubuntu :: Creating Folders For Different Users?

Jan 18, 2010

I want to make a script to create a videos , photos, and documents folder in all of my (or anyone's) user's home folder. Wildcards don't seem to work if I try to put in: sudo mkdir /home/WILDCARD/videos here is my error.

mkdir: cannot create directory `/home/*/videos1': No such file or directory

and just to clarify i want all user's to have there own seperate folders not shared.

P.S. I tried with the -p switch and no luck. I just got a new home folder for * with the videos folder inside.

View 6 Replies View Related

Ubuntu :: Sharing Folders Between Users?

Feb 14, 2010

I am using Ubuntu 9.10 desktop. I set up my main user- admin and loaded the folders of files I would be working on and the relevant additional programs. Now, I would like to set up a second user so that someone else can use the computer with access to many of my files and folders, but not all, which would defeat having a second user. I have set sharing preferences for all of my folders. I have giving most rights to my second user. Yet the second user cannot even see ANY of my folders when they sign-in.

View 8 Replies View Related

Ubuntu :: Block Users From Looking Into Folders Of Others?

Sep 1, 2011

I created an account for my brother but it's a very limited account, just so he can browse and listen to music and stuff like that.However, what I do find funny is the fact that accounts are secured with a password but limited accounts can browse to /home and see the files of everyone, even admins, without Ubuntu asking for a password.I obviously do not want this to happen.Anyway, is there any way I can block him from being able to browse to my homefolder, other than encrypting it?

View 3 Replies View Related

Ubuntu :: Restricting Users To A Specific Folder And Its Subfolders

Dec 29, 2010

I wanted to restrict users within a particular folder say /var/lib/tomcat/webapps. I want the users to see all subfolders inside webapps and work with it (edit+read but no delete). I understood that chroot is the way, and i read this [URL] community discussion, but what i understand out of it is, they are trying to give a complete working installation of ubuntu to the user within a directory which i dont want to.

View 3 Replies View Related

General :: Move Folders That Contain A File With A Specific Extension To A Destination Folder?

Oct 3, 2010

Many years ago, I converted a portion of my files to an arbitrary format with a specific extension. i no longer desire to have them in this format and i would like begin the process of replacing them because conversion is not an appropriate solution. unfortunately, they are mixed in separate folders of the same root folder with files in my current format of a different extension. I feel it would make this process easier if I were to move every folder that contained a file with the undesired format to a separate root folder. The files are stored on a Linux server and shared via samba. How can I do this with a couple of commands or a script? I am open to other suggestions as well. I want to avoid time spent editing text files. Ultimately, I'd like a command that produced a list of full paths for folders, sorted by the number of levels would be a nice touch. A list of all of the files is clearly not what I'm looking for.

View 2 Replies View Related

Ubuntu :: Samba Share In 9.10 - Few Folders Access By 3 Users

Apr 28, 2010

I have configure few folders access by 3 users, In common folder only users that create that document can do changes. The rest of the users can only read the file but can not do changes. Ownership of the folder is admin, group is sambashare which already have the access create and delete files. All the 3 users already in sambashare main group, and they only can edit the file that they copy or create to the common folder .........

View 5 Replies View Related

CentOS 5 :: Lock Filesystem For Specific Users?

Aug 1, 2011

I want to lock the filesystem based on user basics, In effect only specific users should have write access. This need to done apart from normal permission setup.

In Detail:

filesystem: /app
application users: appuser1 & appuser2
Normal users: user1 user1

Required: Only app users need to have write permission over app file system, this should done apart from the normal directory permissions. The all other users can able to view the contents even though other users have write permission based on permissions.

This need to done by over ridding the normal permission setup.

View 6 Replies View Related

Fedora Servers :: Writing A Script To Search Through Specific Folders On A Based Server?

Feb 19, 2009

I am thinking about writing a script to search through specific folders on a Linux based server (Centos 5) and report any changes made to any file on that server.Like a detailed change log with the date it was changed and the difference in size. Dose anyone know if such a script exist?

View 2 Replies View Related

Ubuntu Servers :: Windows Users Can't Mount Share Folders?

Mar 25, 2010

When I connect with my ubuntu 9.10 x86_64 freenx server from Linux/Mac share folders from client side will properly mounted and I can use with no problems.

When I connect to the same server from windows box, I get this error message:

Quote:

Info: Share: '//COMPUTER/FOLDER' failed to mount: mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Last two days I was googleing a lot about this but all I tryed didn't work.

Is there somebody share folder works from windows connection?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved