[solved] allowing guest user full access to a subfloder on my account

Ok, let's say I have a directory in location /home/myacc/shared-files/
I do chmod 777 on that dir, and make a link on a guest account ( ln -s /home/myacc/shared-files/ /home/guest/share )
When I try to access /home/guest/share from the guest account, I get "Permission denied" message, obviously because /home/myacc is protected...
How can I let a guest to see the shared-files subdirectory, but still without changing my home directory permissions?
Last edited by Mr. X (2009-01-07 18:34:14)

Using the chmod 711 method, others are prevented from ls'ing the directory but if they guess the names of files they can still check if they exist, correct?
Let someone else give an opinion about this before you do it, but  you should also be able to use "mount --bind /dir/to/share /where/to/share/it". I've used this on my LAN to put repos in my home dir on an apache server without opening  up permissions along the path to my repos.
In your case, I think you could do this:
mount --bind /home/myacc/shared-files /home/guestacc/shared-files
From what I've read about it, the point of "mount --bind" is to get around the limitations of "ln -s" and path permissions.
*edit*
You'll need to create the /home/guestacc/shared-files directory first.
Last edited by Xyne (2009-01-06 19:45:08)

Similar Messages

  • I am trying to allow guests on windows to connect to shares on my Lion server but it keeps asking for a password for guest. I have allow guest users to access this share enabled but it still does not work.

    I am trying to allow guests on windows to connect to shares on my Lion server but it keeps asking for a password for guest. I have allow guest users to access this share enabled but it still does not work.

    Ditto. Guest accounts shouldn't have a password. No way to enter one in System Prefs...

  • How do i allow guest users to access programs such as word or excel

    I have Office installed on my MacBook Pro but I need to let somebody else use it for a training class, i want to let them to log in as a guest but still have access to Office, when you log in as a guest you don't really have any programs available, help would be appreciated!

    I would have thought that all applications which are properly installed in the Applications folder would be available to all users, including Guest.  That's the case on my machine.  Is your MS Office installed in your **user** application folder (in your home folder, which limits applications to that user) or is it at the top level of your folder hierarchy (which is where you should be installing applications which you want to be available to all users)?

  • With Timed Access List on, Guest users cannot access Guest network.

    I have a ABS with 7.5 version. In the Timed Access window i have default set to "no access". Then, all the computers that are allowed access to the main network are on the list. Then i have the main network hidden. My guest network is broadcasting but when a user tries to connect to it, they get a "Unable to connect". If I change the default access in Timed Access to "Everyday", users are then able to connect to the Guest network again.
    Obviously, this is a bug. I don't want people accessing the main network that aren't on the timed access list. However, I still want guest users to access the Guest Network.
    It looks to me that the Timed Access window is controlling the restriction of the Guest and Main network, when it should only be controlling the Main only.
    Hopefully, apple has noted this issue and will be fixed on the new update. If other people are experiencing this problem, Please let me know.
    -Ghost

    Apple just updated the airport to 7.5.1. But there is still a problem with the the guest network not allowing access. If the "Unlimited" is set to "No Access" in the access list it prevents anybody from accessing the guest network. It should only deny your Main wireless Network.
    In other words, the Access List is controlling the access for both wireless networks(Guest and Main network)
    Either apple needs to create two Access Lists, One for Main network, and One for guest network. Or just have to option to choose which Network you want to restrict leaving the second one open for all.
    -Ghost

  • How do I allow another user to access my pictures, etc?

    Hi
    still getting used to the Mac feel, after switching over from Windows, and I have a question that I can't seem to find an answer to.
    I have the following issue:
    Under my account, I have all our family photos and documents. I have also set up a user account for my wife. When she logs on, she can't access our photos, etc., because she has no read/write rights. (Which is logic, since they are my "private" folders.
    I have then logged on myself, used the "info" button on the respective folders in order to give her user the rights to access my folders, but I can't seem to "allow everyone" to access the folder(s). What are the settings I need to use?
    Thanks
    MN
    Imac 24"   Mac OS X (10.4.9)  

    Hi,
    I have tried to recreate this myself, and your right even after changing ownerships and movie the iPhoto library to the public folder ( Harddrive/Users/Sharing) the second account is still not allowed to access the library. This is strange behaviour because moving the iTunes Music Library to Sharing does allow all users to access the library.
    All I can suggest is that you deselect the option in iPhoto preferences (Advanced) to "copy files to iPhoto library" then store your photos in a folder that resides in the Harddrive/Users/Sharing folder - then your wife can use the import command to add them to her copy of iPhoto (she should also deselect the copy to library option)
    Regards

  • Photoshop cs6 crashes with "appcrash - module ig75icd64.dll; no problem for a local admin user however. i've tried giving specified user full access to photoshop.exe and set it to Win XP compatibility. how do i fix this without giving user local admin acc

    photoshop cs6 crashes with "appcrash - module ig75icd64.dll; no problem for a local admin user however. i've tried giving specified user full access to photoshop.exe and set it to Win XP compatibility. how do i fix this without giving user local admin access?

    Danny,
    Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
    That field is not for attempting to fit your entire question in there.
    Please keep this in mind next time you post.  Thank you.

  • My mac pro won't allow guest users to log in.

    How do you allow guest users in a mac pro? Keeps asking for a password?

    This issue is sometimes or always the result of transferring the Guest account from another system in Migration or Setup Assistant. See the discussions linked below.
    Mavericks guest user password
    Guest account requires password - Disabling/reenabling doesn't work

  • [Solved] Non-root user cannot access mounted ntfs filesystem

    Hi -,
    i have a dualboot system (arch/xfce + win7) and i use a ntfs partition /dev/sda2 to store files i use with both operating systems. I added the partition to fstab and it gets mounted, but i cannot access it with my non-root user. With root it works fine...
    My fstab:
    # cat /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    LABEL=home /home ext4 defaults 0 1
    LABEL=root / ext4 defaults 0 1
    LABEL=swap swap swap defaults 0 0
    /dev/sda2 /media/sda2 ntfs defaults 0 2
    Is there any option that allows all users to use the mounted device? Or how is this usually done ...
    Last edited by muzzel (2012-05-30 20:39:58)

    See: NTFS-3G for important setup information.
    My fstab line looks like:
    /dev/sdb1 /media/Win_USB ntfs-3g uid=1000,gid=users,fmask=113,dmask=0022 0 0
    This sets up some important parameters which the NTFS-3G Wiki Page covers.  Basically, "ntfs" is only a basic driver and is built into the kernel.  "ntfs-3g" is a much better, and less disk-eating, driver that you should install and use if you need the drive in Linux any more than occasionally.  My fstab line makes my user (1000) the owner and the masks lets me write and etc to it.  When you install NTFS-3G it is automatically used when you use the mount command to mount NTFS drives.  In fstab, as above, you would specify it explicitly.
    You can find your own user number by entering "id" at a terminal.

  • How do I allow other users limited access to iPhoto?

    I am seeking to create other user accounts for my Mac that will allow my wife and my 8 year old to view photos in iPhoto but will not allow them to screw it up (i.e., will not allow them to edit or delete any photos, etc.).  Is there a way that I can give them access to view only?  Thanks.

    When you share a Photo Stream and invite a family member to view it, the family member will see the photo stream in the iPhoto Library, in the iCloud section:  It will look like regular albums.

  • How can we allow internal users to access internet through ASA firewall?

    Hello,
    I am new to security track, i have been asked to setup lab and allow users from inside firewall to access internet. here is my lab setup
    PC -> switch 1 (layer2) -> (inside) ASA (outside) -> switch 2 (Layer2) -> Router
    does switch 2 port needs internet access through router?
    what configuration required on ASA to allow users behind the firewall to access internet?
    any help on this would be much appreciated.
    thanks,

    Hi,
    Okay , can you clarify on this for me. Are you able to ping the internet from the ASA outside interface ?
    Just try something like this:-
    ping 4.2.2.2 .. Does this work ?
    If this does not work , then i think the ASA even is not able to get to the internet and that would be a problem on the router.
    Also , internet from Switch 2 is not a requirement as that is only a Layer 2 device.
    You can assign the ISP allocated address on the PC , connect it to the Switch 2 port and then try to ping something on the internet or surf internet and i think that should work.
    Thanks and Regards,
    Vibhor Amrodia

  • Easy Way to allow Mac Users to Access Windows Shares

    I have a client that runs a mix of macs and pcs.
    They have a seperate domain for macs running on an xserve with 10.2.8 server and a domain of windows 2000 servers for the pcs
    My question is, is there an easy way to allow the mac users to be authenticated to shares that are available on the windows 2000 network without having to be prompted with a different login? ie access the shares with there current mac login username and password?

    Hi
    If your mac clients can 'see' the windows domain then simply add a single generic user account on the Windows Server. Most people create a single account called macuser with the same password.
    Mac clients should now be able to command+K from the Go Menu and key in smb://windowserver'sIPaddress. They should be prompted for the user name and password.
    If you want to use the same account details as available on the Mac Server then you could export users from the local Node and import them into the Windows Server. Passwords are not retained using this method but if you don't have a lot of mac users you can simply re-key their passwords or use a password common to all and use a password policy forcing users to change them at next log-in. You could consider using something like Passenger which does retain passwords. Depending on which Windows Server it is I'm not sure how successful it would be reading imported account from such an old server version?
    Again if you don't have a lot of mac users simply key them all in.
    Tony

  • Allowing a user to access beekeeper

    Hello,
    I'm trying to delegate part of administration tasks, but I can't figure out the right rule/role that gives access to beekeeper for a user.
    Any clue ?

    hi,
    Check the "Managing Oracle Beehive Access Control" section of the admin guide, somewhere like here :
    Specifically, WEBADMIN_USER privilege grants the ability to log in to the web administration interface (but not do anything else once you're logged in).
    regards,
    Richard

  • Allowing other users to access software

    I installed Microsoft Office on my iMac. My wife and have two separate user accounts. I am able to access the office suite when I am logged on. But when she logs on, she can not use those products. How do I fix this?
    iMac   Mac OS X (10.4)  

    Yes, it looks like I can access the applications through the applications menu on the Macintosh HD folder when she logs on. Is there a way to add the application icons to the dock/menu bar at the bottom of the screen? Thanks.
    iMac   Mac OS X (10.4)  
    iMac   Mac OS X (10.4)  

  • [Solved] Ensure all users have access to directory and files

    I'm writing a PKGBUILD thats installing to /usr/share/.../... and building the package is giving me permissions for files and parent folder as root:root and directory/file permissions as 755 and 644 respectively.  Because it looks like the files need to be alterable (at least temporarily), I'd like all users to be able to have the correct permissions for them.  This may cause problems for multiple users on the system because settings may get saved here but I'd still like to be able to do this because people with single-user systems can benefit from this (i.e. I'd be todd:users while someone named joe would be joe:users) to be able to have access.  I've heard of the nobody group before, can I do something like this?:
    chown -R nobody:users ${pkgdir}/usr/share/.../...
    Any recommendations?
    Last edited by Gen2ly (2012-06-19 05:36:33)

    You can give the files that need to be altered the permission 0666. If you want also to give users permissions to create new files and directories give the directories permissions 0777. Leave the owner as root:root ("nobody" is just another normal user, it is used to run system daemon that for some reason we do not want to run as root). That's said what you are trying is considered bad practise (be also aware that two different users could modify the same file at the same time with unpredicatble results). If it is not fixable in a proper way, you could install the whole package your home directory (without making an arch package), just alter the PATH and possible LD_LIBRARY_PATH). In any case if you decide to make an arch package like this, such a package will not be suitable for distribution.
    Last edited by olive (2012-06-17 21:25:38)

  • Mac on Windows SMB Share- IDLK files disappearing allowing several users to access the same file

    Hi,
    We have a volume licensing agreement with Adobe and have around 16 Adobe CS6 licenses all used on Macs. The network is based around Windows servers and shares which the Macs connect to via an SMB connection to the server. The issue we're having is that when an InDesign file is opened, sometimes it will not create an IDLK file (or sometimes it will create one but it will disappear seconds later) and it allows several people to view the same file at the same time. Obviously two or more people working on the same file can, will and has caused issues with overwriting documents without knowledge of doing so.
    Has anyone else encountered this or have any ideas as to what might help us resolve this issue?
    Thanks

    When you open a file from a previous version (you'll see converted in
    the file name) there is no CS6 file in existence, yet. Once the file is
    saved as a CS6 file, the lock file is created. The whole procedure is
    designed so that you must make a fully conscious decision to overwrite
    the old version file with a new one.
    This is no different than creating a new document that hasn't been saved
    yet.

Maybe you are looking for